Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001431/0.001431, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001772/0.001772, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.737e-05, allocations: 3.188 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002037/0.002074, allocations: 0.6727 MB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.003472, allocations: 0.8366 MB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.003508, allocations: 0 / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.003537, allocations: 0 / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.003616, allocations: 11.88 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.003812, allocations: 12.62 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.003895, allocations: 29.17 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.00398, allocations: 0 / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.00406, allocations: 11.98 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.004099, allocations: 11.98 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.004116, allocations: 6.438 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.004158, allocations: 4 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.004173, allocations: 3.938 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.004198, allocations: 4 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004312, allocations: 35.88 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004315, allocations: 0 / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004315, allocations: 1.5 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004319, allocations: 0 / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005003/0.00482, allocations: 258.4 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.004859, allocations: 9.531 kB / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.004983, allocations: 12.83 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.005117, allocations: 101.8 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.005132, allocations: 4.375 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.005141, allocations: 0.9062 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.005334, allocations: 51.23 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005344, allocations: 192 / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.005355, allocations: 4.312 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00536, allocations: 1.062 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.00556, allocations: 41.8 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.005924, allocations: 192.5 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006073, allocations: 39.75 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.006166, allocations: 16.91 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.006192, allocations: 4.938 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.006226, allocations: 30.56 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.006227, allocations: 0 / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004114/0.006638, allocations: 95.41 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.006687, allocations: 51.41 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006794, allocations: 102.7 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.006814, allocations: 25.7 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.006878, allocations: 85.7 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.006902, allocations: 11.89 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.00694, allocations: 13.72 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.007116, allocations: 310.8 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.00721, allocations: 21.16 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.007287, allocations: 19.14 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.007457, allocations: 32.83 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00746, allocations: 0 / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002188/0.007678, allocations: 73.59 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.007696, allocations: 8.5 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.007704, allocations: 5.875 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.007724, allocations: 192 / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.007812, allocations: 7.984 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007817, allocations: 0 / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.007867, allocations: 4 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.00788, allocations: 9.547 kB / 0.8141 GB, free: 14.63 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.567e-05/0.007975, allocations: 109.8 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.007999, allocations: 0 / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.00825, allocations: 81.88 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008253, allocations: 0.5312 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008257, allocations: 0.8438 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00826, allocations: 0 / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.008426, allocations: 105.3 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008428, allocations: 4.781 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.008491, allocations: 13.28 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.008497, allocations: 3.984 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.008504, allocations: 0 / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.008508, allocations: 3.938 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008509, allocations: 0.8438 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.008791, allocations: 165.9 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.0088, allocations: 4 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.008812, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.008895, allocations: 7.938 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.008946, allocations: 11.92 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.008949, allocations: 2.969 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.009005, allocations: 79.28 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009005, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002196/0.009225, allocations: 4 kB / 0.8146 GB, free: 14 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.0001455/0.00937, allocations: 99.23 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.009593, allocations: 32.91 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009594, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.009681, allocations: 17.05 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.009978, allocations: 13.08 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.01033, allocations: 108.7 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.0104, allocations: 64.33 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.01042, allocations: 0 / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.01046, allocations: 13.66 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01046, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003087/0.01354, allocations: 478 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 7.762790573993698]