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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009894/0.0009894, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009322/0.0009322, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 0.8708 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6702, allocations: 153.7 MB / 1.021 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001821/0.6721, allocations: 1.192 MB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.6734, allocations: 0.764 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.6735, allocations: 3.938 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.6736, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.6736, allocations: 23.89 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.6743, allocations: 111.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.6744, allocations: 55.92 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.6745, allocations: 8 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.6746, allocations: 43.78 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.6747, allocations: 39.83 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.6748, allocations: 4 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.675, allocations: 95.89 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.675, allocations: 11.92 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.6751, allocations: 37.7 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.6753, allocations: 121.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6753, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6753, allocations: 7.938 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6753, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 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.0007379/0.6761, allocations: 474.4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6761, allocations: 11.98 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.6762, allocations: 7.906 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.6763, allocations: 185.3 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.6764, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.6764, allocations: 7.984 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.6767, allocations: 93.59 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6767, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6767, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6767, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.6769, allocations: 63.84 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.6775, allocations: 328.7 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.6777, allocations: 86.55 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6778, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.678, allocations: 103.4 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.678, allocations: 0 / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005374/0.6786, allocations: 205.6 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6786, allocations: 55.41 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6787, allocations: 134 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.6788, allocations: 29.7 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.6788, allocations: 96.05 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.6789, allocations: 15.8 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.6789, allocations: 4 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.679, allocations: 318.8 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.6791, allocations: 31.97 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6792, allocations: 76.81 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.6793, allocations: 39.94 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6793, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000261/0.6796, allocations: 137.5 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6796, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6796, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6796, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.6797, allocations: 15.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6797, allocations: 320 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.6798, allocations: 19.92 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6798, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.7794 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.6799, allocations: 132.2 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.68, allocations: 7.906 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.68, allocations: 8.719 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.68, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.68, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.68, allocations: 8.016 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.6806, allocations: 450.3 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6806, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.6807, allocations: 4 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6807, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6807, allocations: 11.98 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6807, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6807, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.6811, allocations: 255.3 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.6811, allocations: 81.02 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.6812, allocations: 15.94 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6813, allocations: 11.98 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.6814, allocations: 7.938 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6814, allocations: 7.984 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.6814, allocations: 103.2 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6815, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003346/0.6818, allocations: 51.98 kB / 1.027 GB, free: 10.64 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.6822, allocations: 161.9 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.6824, allocations: 100.1 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6825, allocations: 0 / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6826, allocations: 51.91 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.6828, allocations: 16.5 kB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.6832, allocations: 217.2 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.6835, allocations: 0.6965 MB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.6836, allocations: 7.859 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.6836, allocations: 19.36 kB / 1.028 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6836, allocations: 4 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.00474/0.6883, allocations: 1.753 MB / 1.03 GB, free: 7.594 MB / 0.7794 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","../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches