Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 188.7 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.408/3.408, allocations: 496 MB / 0.7835 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 61.89 kB / 1.138 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4666, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002595/0.4692, allocations: 1.093 MB / 1.308 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.4708, allocations: 1.003 MB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.471, allocations: 4 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.4711, allocations: 19.73 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.4712, allocations: 15.8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.4716, allocations: 67.86 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.4718, allocations: 176.1 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.472, allocations: 68.39 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.4721, allocations: 75.66 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.4723, allocations: 79.66 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.4723, allocations: 20 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.4723, allocations: 16 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.4724, allocations: 39.84 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.4725, allocations: 75.59 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.4728, allocations: 179.1 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4728, allocations: 0 / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4728, allocations: 0 / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.4728, allocations: 4 kB / 1.31 GB, free: 14.83 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009155/0.4737, allocations: 426.4 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4737, allocations: 8.922 kB / 1.311 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.4738, allocations: 16.84 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.4741, allocations: 171.3 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4742, allocations: 16.38 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.4742, allocations: 12.38 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.4746, allocations: 158.5 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4746, allocations: 4 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.4746, allocations: 11.92 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4746, allocations: 4 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.4749, allocations: 112.4 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.4761, allocations: 0.5108 MB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.4765, allocations: 126.8 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.4767, allocations: 80.77 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.4768, allocations: 4 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.477, allocations: 119.3 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.477, allocations: 4 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0005836/0.4776, allocations: 223.3 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4776, allocations: 55.41 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4778, allocations: 157.1 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.4778, allocations: 33.7 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.4779, allocations: 116.5 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.478, allocations: 71.41 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.478, allocations: 45.7 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4782, allocations: 326.8 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4784, allocations: 63.89 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4786, allocations: 89.73 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.479, allocations: 151.7 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.479, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005161/0.4795, allocations: 215.8 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4796, allocations: 4 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4796, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4796, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4798, allocations: 55.92 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4798, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.48, allocations: 27.83 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.48, allocations: 8 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001251/0.4801, allocations: 130.5 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.4801, allocations: 11.91 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.4806, allocations: 204.5 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4806, allocations: 3.938 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4806, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4806, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/0.4815, allocations: 0.5569 MB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4815, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.4817, allocations: 43.86 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4817, allocations: 7.938 kB / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4817, allocations: 0 / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4817, allocations: 8.172 kB / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4817, allocations: 8 kB / 1.314 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.4824, allocations: 376.4 kB / 1.315 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.4824, allocations: 19.84 kB / 1.315 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.4824, allocations: 12.03 kB / 1.315 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4826, allocations: 15.98 kB / 1.315 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.4827, allocations: 19.97 kB / 1.315 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4827, allocations: 12 kB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001153/0.4828, allocations: 126.9 kB / 1.315 GB, free: 9.621 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4828, allocations: 0 / 1.315 GB, free: 9.621 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002948/0.4831, allocations: 35.89 kB / 1.315 GB, free: 9.586 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001537/0.4832, allocations: 111.2 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.4837, allocations: 155.8 kB / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4837, allocations: 0 / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.4839, allocations: 83.83 kB / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4843, allocations: 33.64 kB / 1.315 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.4851, allocations: 378.9 kB / 1.316 GB, free: 8.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4854, allocations: 0.7204 MB / 1.316 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.992e-05/0.4855, allocations: 17.42 kB / 1.316 GB, free: 8.016 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.4856, allocations: 19.42 kB / 1.316 GB, free: 7.996 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.4856, allocations: 0 / 1.316 GB, free: 7.996 MB / 1.014 GB Notification: Performance of Templates: time 0.005964/0.4916, allocations: 1.877 MB / 1.318 GB, free: 6.133 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.814079178497195]