Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.000831, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006/0.006, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.939/2.939, allocations: 462.6 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8.875 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3939, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001902/0.3959, allocations: 1.233 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3974, allocations: 0.818 MB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.3975, allocations: 4 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3975, allocations: 7.875 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.3976, allocations: 3.938 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.3982, allocations: 127.7 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3983, allocations: 91.7 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3984, allocations: 12 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.3985, allocations: 39.89 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/0.3986, allocations: 39.83 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3986, allocations: 4 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3989, allocations: 115.8 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.3989, allocations: 23.91 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.399, allocations: 65.48 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3993, allocations: 171.8 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3993, allocations: 4 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3993, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3993, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 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.0007427/0.4001, allocations: 466.6 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4001, allocations: 12.03 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.4002, allocations: 8.844 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4003, allocations: 184.2 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.4004, allocations: 4.375 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4004, allocations: 4.375 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.4006, allocations: 97.94 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4006, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4007, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4007, allocations: 3.938 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.4009, allocations: 63.97 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.4015, allocations: 332.6 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4017, allocations: 86.58 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.4018, allocations: 48.83 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4019, allocations: 8 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.4021, allocations: 95.36 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4021, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005412/0.4027, allocations: 197.5 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.4027, allocations: 59.48 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4029, allocations: 130.1 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4029, allocations: 33.7 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.403, allocations: 100.1 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.403, allocations: 19.66 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.403, allocations: 25.7 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4032, allocations: 326.8 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.4033, allocations: 23.98 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4034, allocations: 77.25 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4036, allocations: 113.9 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4036, allocations: 0 / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002649/0.4038, allocations: 133.5 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4039, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4039, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4039, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.404, allocations: 19.92 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.404, allocations: 4.312 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.4041, allocations: 11.98 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4041, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 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.0001012/0.4042, allocations: 127.4 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.4042, allocations: 11.91 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.4043, allocations: 8.656 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.4043, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4043, allocations: 3.984 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4043, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.4049, allocations: 454.2 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4049, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.4049, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.405, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.405, allocations: 11.98 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.405, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.405, allocations: 3.938 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.4054, allocations: 255.3 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.4054, allocations: 85.02 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4055, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4056, allocations: 15.98 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.4056, allocations: 11.92 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4056, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.499e-05/0.4057, allocations: 101.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4057, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000315/0.406, allocations: 51.98 kB / 1.065 GB, free: 14.59 MB / 0.8262 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.0003795/0.4064, allocations: 174.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.4067, allocations: 100.1 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4067, allocations: 4.062 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4069, allocations: 47.97 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4072, allocations: 11.98 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.4077, allocations: 234.7 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4079, allocations: 0.6917 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.408, allocations: 15.91 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.408, allocations: 11.44 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.408, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.005038/0.4131, allocations: 1.781 MB / 1.068 GB, free: 11.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches