Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001581/0.001581, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001698/0.001698, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.346/3.346, allocations: 0.49 GB / 0.7916 GB, free: 33.16 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.002217/0.002217, allocations: 77.77 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4499, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002262/0.4522, allocations: 0.5869 MB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.259e-05/0.4522, allocations: 3.938 kB / 1.322 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.4523, allocations: 4 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.4523, allocations: 4 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.066e-05/0.4523, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.125e-05/0.4524, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.4525, allocations: 4 kB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.4525, allocations: 4 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.702e-05/0.4525, allocations: 3.984 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.4526, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4526, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-06/0.4526, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.4526, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.4526, allocations: 3.938 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.4527, allocations: 11.98 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4527, allocations: 0 / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4527, allocations: 0 / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4527, allocations: 0 / 1.322 GB, free: 2.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004095/0.4531, allocations: 315.5 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4532, allocations: 11.98 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.4532, allocations: 0.9375 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.4534, allocations: 168.3 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4534, allocations: 384 / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.4534, allocations: 8.375 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4535, allocations: 30.25 kB / 1.322 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4535, allocations: 192 / 1.322 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4535, allocations: 3.938 kB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4535, allocations: 0 / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.4535, allocations: 4 kB / 1.322 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.454, allocations: 379.5 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.4541, allocations: 181 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.4542, allocations: 84.14 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.4542, allocations: 75.28 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/0.4543, allocations: 105.8 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4543, allocations: 0 / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.913e-05/0.4543, allocations: 29.64 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.4544, allocations: 138.7 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4545, allocations: 97.8 kB / 1.323 GB, free: 396 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4546, allocations: 29.64 kB / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.4546, allocations: 84.58 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.4546, allocations: 0 / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.4546, allocations: 9.719 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.4548, allocations: 311 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-06/0.4548, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-06/0.4548, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.4549, allocations: 79.28 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/0.4549, allocations: 75.28 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.768e-05/0.455, allocations: 37.62 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.4551, allocations: 87.22 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/0.4551, allocations: 75.28 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.69e-05/0.4552, allocations: 158.6 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.941e-05/0.4552, allocations: 79.22 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.064e-05/0.4553, allocations: 150.6 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.4554, allocations: 87.22 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.4554, allocations: 75.28 kB / 1.325 GB, free: 15.04 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 (0): * Single equations (assignments): 0 * 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.0002217/0.4556, allocations: 268.3 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.4557, allocations: 109 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.4558, allocations: 108 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.4559, allocations: 176.3 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001257/0.456, allocations: 180.2 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/0.4561, allocations: 184.2 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4564, allocations: 405.2 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/0.4565, allocations: 104.9 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.4565, allocations: 109 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-05/0.4566, allocations: 180.2 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.4567, allocations: 180.3 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.99e-05/0.4568, allocations: 176.6 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000116/0.4569, allocations: 192.2 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.4572, allocations: 307.7 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4573, allocations: 182.1 kB / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4574, allocations: 180.3 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4575, allocations: 112.9 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.4576, allocations: 180.3 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.4577, allocations: 108.9 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.4577, allocations: 75.28 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4577, allocations: 0 / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000266/0.458, allocations: 4 kB / 1.328 GB, free: 11.36 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 (0): * Single equations (assignments): 0 * 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.0002163/0.4582, allocations: 174.6 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.404e-05/0.4583, allocations: 7.984 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4583, allocations: 4 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4583, allocations: 3.938 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4587, allocations: 455.6 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.4591, allocations: 159.1 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.4594, allocations: 0.6767 MB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.666e-06/0.4595, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4595, allocations: 7.438 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/0.4595, allocations: 0 / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of Templates: time 0.002452/0.4619, allocations: 172.9 kB / 1.33 GB, free: 9.656 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.526185010094196]