Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 88.83 kB / 19.44 MB, free: 456 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 157.3 kB / 22.75 MB, free: 1.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.345/3.345, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.726e-05/3.96e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001794/0.001833, allocations: 0.7115 MB / 0.8784 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003182, allocations: 0.8244 MB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.00322, allocations: 3.938 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.003253, allocations: 3.984 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.003331, allocations: 12.31 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.003439, allocations: 13.11 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003542, allocations: 44.08 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.003649, allocations: 11.97 kB / 0.8792 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.003746, allocations: 25.05 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.003795, allocations: 15.98 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.00382, allocations: 4 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.003833, allocations: 5.406 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.003859, allocations: 11.92 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.003891, allocations: 8 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004018, allocations: 43.91 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00402, allocations: 5.031 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00402, allocations: 0 / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004025, allocations: 0 / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005759/0.0046, allocations: 297.5 kB / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.004641, allocations: 8.031 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.004687, allocations: 4.938 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.004812, allocations: 113.7 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.004827, allocations: 384 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.00484, allocations: 4.375 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.005119, allocations: 66.81 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.00513, allocations: 1.656 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.005141, allocations: 384 / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.00515, allocations: 4.375 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.005454, allocations: 65.39 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.005807, allocations: 208.6 kB / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.006034, allocations: 58.53 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.006194, allocations: 36.92 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.006218, allocations: 0 / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.006253, allocations: 34.55 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.006254, allocations: 4 kB / 0.8802 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006069/0.006861, allocations: 137.4 kB / 0.8804 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.006905, allocations: 51.41 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.007014, allocations: 113.8 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.007034, allocations: 25.7 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.007093, allocations: 84.12 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.007117, allocations: 11.89 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.007153, allocations: 13.72 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.007328, allocations: 322.8 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.007482, allocations: 31.95 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.007622, allocations: 27.97 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.007921, allocations: 72.72 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.007922, allocations: 4 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003524/0.008275, allocations: 97.86 kB / 0.8812 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.008295, allocations: 11.94 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0083, allocations: 0 / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.008319, allocations: 48 / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.008465, allocations: 31.89 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.00847, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.008551, allocations: 11.98 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.008562, allocations: 4 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.008659, allocations: 109.8 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.00869, allocations: 7.953 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.009092, allocations: 113.5 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009095, allocations: 0 / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.009099, allocations: 4 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009104, allocations: 3.984 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.009266, allocations: 113.3 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009267, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.009372, allocations: 15.98 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009375, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.009382, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.009388, allocations: 3.938 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009389, allocations: 0 / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.009818, allocations: 203.4 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.009829, allocations: 3.953 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.009842, allocations: 0 / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.00996, allocations: 15.92 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.01001, allocations: 3.984 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01002, allocations: 8 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.01008, allocations: 83.59 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01008, allocations: 4 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002293/0.0103, allocations: 12 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.01043, allocations: 95.23 kB / 0.882 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.01078, allocations: 67.92 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01078, allocations: 0 / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01094, allocations: 39.91 kB / 0.8821 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.01123, allocations: 7.984 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.01159, allocations: 125.4 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.01166, allocations: 71.14 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.01169, allocations: 3.938 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.01173, allocations: 12.5 kB / 0.8823 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01173, allocations: 4 kB / 0.8823 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of Templates: time 0.003458/0.01519, allocations: 0.7446 MB / 0.883 GB, free: 0.6445 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.460858094971627]