Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 103.1 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 196.7 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.4 MB / 0.755 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.7 kB / 0.924 GB, free: 388 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7625, allocations: 162.2 MB / 1.082 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002852/0.7654, allocations: 1.549 MB / 1.084 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.7668, allocations: 0.82 MB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.7669, allocations: 0.5 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.7669, allocations: 4.594 kB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.767, allocations: 11.02 kB / 1.085 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.7677, allocations: 135.8 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.7678, allocations: 89.03 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.7679, allocations: 23.78 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.768, allocations: 33.5 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.7681, allocations: 49.38 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.7681, allocations: 8.531 kB / 1.085 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.7684, allocations: 128.9 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.7684, allocations: 27.08 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.7685, allocations: 39.97 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.7687, allocations: 127.7 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7687, allocations: 1.188 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7687, allocations: 0 / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7687, allocations: 0 / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007861/0.7695, allocations: 486.3 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7696, allocations: 10.09 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.7696, allocations: 17.22 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.7698, allocations: 178.9 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.7698, allocations: 3.375 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.7698, allocations: 5.609 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.7701, allocations: 93.67 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7701, allocations: 0 / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7701, allocations: 1.531 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7702, allocations: 4.734 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.7703, allocations: 52.02 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.7709, allocations: 323.9 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.7712, allocations: 85.02 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.7713, allocations: 48.58 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.7713, allocations: 1.656 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.7716, allocations: 88.55 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.7716, allocations: 1.125 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.7721, allocations: 186.1 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7722, allocations: 60.14 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.7723, allocations: 132.3 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.7724, allocations: 31.17 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.7724, allocations: 93.38 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.7725, allocations: 20.72 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.7725, allocations: 29.56 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7727, allocations: 329.1 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.7728, allocations: 22.27 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.7729, allocations: 70.56 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.7731, allocations: 104 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7731, allocations: 0 / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002595/0.7734, allocations: 132.4 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7734, allocations: 8.781 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7734, allocations: 3.875 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7734, allocations: 1.812 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.7735, allocations: 17.78 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7735, allocations: 1.188 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.7736, allocations: 15.48 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.7736, allocations: 3.688 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001337/0.7738, allocations: 131.7 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.7738, allocations: 11.72 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.7738, allocations: 8.375 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7738, allocations: 2.859 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7738, allocations: 0 / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.7739, allocations: 1.344 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.7745, allocations: 433.4 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.7745, allocations: 1.344 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.7746, allocations: 13.42 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7746, allocations: 0 / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.7746, allocations: 8.016 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7746, allocations: 0 / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.7746, allocations: 9.031 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.775, allocations: 241.4 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.7751, allocations: 84.34 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.7751, allocations: 6.188 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7752, allocations: 7.219 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.7753, allocations: 9.688 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7753, allocations: 4.5 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.7754, allocations: 107.1 kB / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7754, allocations: 0 / 1.089 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003635/0.7758, allocations: 53.41 kB / 1.089 GB, free: 12.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003981/0.7762, allocations: 175.1 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.7765, allocations: 93.44 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7765, allocations: 4 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7766, allocations: 51 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.7769, allocations: 11.62 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.7774, allocations: 242.2 kB / 1.09 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.7778, allocations: 0.6957 MB / 1.09 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.7778, allocations: 10.92 kB / 1.09 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.7778, allocations: 0 / 1.09 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of Templates: time 0.004206/0.782, allocations: 1.848 MB / 1.092 GB, free: 11.65 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches