Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.01046/0.01046, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.002029/0.002029, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.89 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8934, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002704/0.8962, allocations: 1.512 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.8976, allocations: 0.8178 MB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.8976, allocations: 4 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.8977, allocations: 3.938 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.8978, allocations: 19.78 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.8984, allocations: 151.5 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.8985, allocations: 95.75 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.8986, allocations: 8 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.8987, allocations: 47.78 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.8988, allocations: 47.81 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.8988, allocations: 8 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.899, allocations: 119.9 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.8991, allocations: 27.91 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.8991, allocations: 35.84 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.8994, allocations: 183.9 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8994, allocations: 0 / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8994, allocations: 0 / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.8994, allocations: 0 / 1.17 GB, free: 0.7617 MB / 0.8887 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.000731/0.9002, allocations: 492.2 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9002, allocations: 12.03 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.9003, allocations: 8.891 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.9004, allocations: 176.3 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.9004, allocations: 4.375 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.9005, allocations: 12.31 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.9007, allocations: 97.81 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.9007, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.9007, allocations: 4 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9007, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.9009, allocations: 47.97 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.9015, allocations: 332.6 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.9018, allocations: 78.55 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.9019, allocations: 44.83 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.9019, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.9022, allocations: 95.5 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.9022, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005318/0.9027, allocations: 181.6 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.9028, allocations: 59.41 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.9029, allocations: 126.1 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.9029, allocations: 29.7 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.903, allocations: 96.12 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.903, allocations: 27.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.9031, allocations: 29.7 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9032, allocations: 326.8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.9033, allocations: 19.98 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.9034, allocations: 73.98 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.9036, allocations: 109.9 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9036, allocations: 0 / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002176/0.9038, allocations: 121.5 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9038, allocations: 8 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9038, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.9039, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.904, allocations: 15.94 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.904, allocations: 12.17 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.904, allocations: 7.953 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.9041, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 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.0001143/0.9042, allocations: 131.9 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.9042, allocations: 7.953 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.9042, allocations: 12.7 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.9043, allocations: 4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9043, allocations: 3.938 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9043, allocations: 7.938 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.9048, allocations: 430.4 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9049, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.9049, allocations: 11.92 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.9049, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.9049, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9049, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9049, allocations: 7.938 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.9053, allocations: 243.4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.9054, allocations: 89.06 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.9054, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.9055, allocations: 7.984 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.9056, allocations: 11.92 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.9056, allocations: 12 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.9057, allocations: 100.8 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9057, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003005/0.906, allocations: 51.86 kB / 1.173 GB, free: 12.67 MB / 0.9044 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.0004154/0.9064, allocations: 184.8 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.9067, allocations: 95.81 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9067, allocations: 0 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.9068, allocations: 43.98 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.9071, allocations: 7.984 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.9075, allocations: 216.3 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.9078, allocations: 0.6924 MB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.9078, allocations: 11.92 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.9078, allocations: 11.44 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.9079, allocations: 0 / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.004661/0.9125, allocations: 1.885 MB / 1.176 GB, free: 9.496 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches