Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001735/0.001735, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001957/0.001957, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.564/1.564, allocations: 230.5 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.66 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4715, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002218/0.4737, allocations: 0.7673 MB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.4752, allocations: 0.8631 MB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4753, allocations: 4 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.4753, allocations: 11.86 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.4755, allocations: 11.94 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.4757, allocations: 27.97 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.4759, allocations: 71.77 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.476, allocations: 23.97 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4761, allocations: 23.92 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4763, allocations: 43.83 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.4763, allocations: 8 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.4763, allocations: 7.938 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.4764, allocations: 19.92 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.4764, allocations: 31.84 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.4766, allocations: 79.56 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4767, allocations: 4 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4767, allocations: 0 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.4767, allocations: 0 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009607/0.4776, allocations: 383.1 kB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4777, allocations: 11.98 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4777, allocations: 8.891 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.478, allocations: 176.3 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.478, allocations: 8.375 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.478, allocations: 8.375 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.4783, allocations: 78.2 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4784, allocations: 192 / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4784, allocations: 7.922 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4784, allocations: 0 / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.4787, allocations: 75.81 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.4794, allocations: 320.8 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.4796, allocations: 86.47 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4798, allocations: 36.92 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4798, allocations: 4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4798, allocations: 34.56 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4798, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005213/0.4803, allocations: 129.8 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4804, allocations: 51.41 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4805, allocations: 117.8 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4805, allocations: 33.64 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.4806, allocations: 104 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4806, allocations: 23.84 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.4807, allocations: 21.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4809, allocations: 318.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.481, allocations: 28.05 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4811, allocations: 35.97 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4813, allocations: 72.81 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4813, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003154/0.4817, allocations: 101.6 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4817, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4817, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4817, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4819, allocations: 19.92 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4819, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4819, allocations: 19.92 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.482, allocations: 4 kB / 1.325 GB, free: 14.36 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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 0.0001129/0.4821, allocations: 121.9 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.4821, allocations: 7.891 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.4821, allocations: 12.38 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4821, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4821, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.4821, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.4824, allocations: 197.5 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4824, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4825, allocations: 23.97 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4825, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4825, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4825, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4825, allocations: 192 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.4829, allocations: 211.3 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.4829, allocations: 85.06 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.483, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4831, allocations: 7.984 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.4831, allocations: 11.98 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4831, allocations: 8 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.4832, allocations: 91.7 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4832, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002456/0.4835, allocations: 12 kB / 1.326 GB, free: 13.48 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0001561/0.4836, allocations: 107.2 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.484, allocations: 75.81 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.484, allocations: 0 / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.4841, allocations: 43.97 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4844, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.485, allocations: 177.4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4854, allocations: 0.6923 MB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.675e-05/0.4854, allocations: 8 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.4855, allocations: 19.42 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.4855, allocations: 0 / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Templates: time 0.004319/0.4898, allocations: 1.234 MB / 1.329 GB, free: 11.07 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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: 9.517124102916569]