Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.00101/0.00101, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6747, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001422/0.6761, allocations: 1.217 MB / 0.9569 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.6774, allocations: 0.815 MB / 0.9577 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.6775, allocations: 0 / 0.9577 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.6775, allocations: 3.938 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.6776, allocations: 13.53 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.6781, allocations: 129.3 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.6783, allocations: 92.53 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.6784, allocations: 9.172 kB / 0.9579 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.6785, allocations: 39.81 kB / 0.958 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.6786, allocations: 40.58 kB / 0.958 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.6786, allocations: 3.719 kB / 0.958 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.6788, allocations: 121.2 kB / 0.9581 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.6789, allocations: 22.61 kB / 0.9581 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.6789, allocations: 55.78 kB / 0.9582 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.6791, allocations: 138.9 kB / 0.9583 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6791, allocations: 0 / 0.9583 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6791, allocations: 0 / 0.9583 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6792, allocations: 0 / 0.9583 GB, free: 5.625 MB / 0.7169 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.000609/0.6798, allocations: 470.4 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6798, allocations: 9 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.6799, allocations: 8.469 kB / 0.9588 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.68, allocations: 177.5 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.68, allocations: 7.969 kB / 0.959 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.68, allocations: 3.938 kB / 0.959 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.6802, allocations: 100.9 kB / 0.9591 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6803, allocations: 0 / 0.9591 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6803, allocations: 0 / 0.9591 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6803, allocations: 1.281 kB / 0.9591 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.6805, allocations: 58.33 kB / 0.9591 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.681, allocations: 332.4 kB / 0.9594 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.6812, allocations: 89.66 kB / 0.9595 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.6813, allocations: 46.88 kB / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.6814, allocations: 1.125 kB / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.6816, allocations: 101.3 kB / 0.9597 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.6816, allocations: 5.344 kB / 0.9597 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004974/0.6821, allocations: 201 kB / 0.9599 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.6821, allocations: 57.5 kB / 0.9599 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.6822, allocations: 137.6 kB / 0.9601 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6822, allocations: 33.64 kB / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.6823, allocations: 95.38 kB / 0.9602 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.6823, allocations: 15.08 kB / 0.9602 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.6823, allocations: 18.09 kB / 0.9602 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.6824, allocations: 329.8 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.6824, allocations: 25.48 kB / 0.9605 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.6825, allocations: 83.14 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.6827, allocations: 106.7 kB / 0.9607 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6827, allocations: 0 / 0.9607 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.683, allocations: 136.3 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.683, allocations: 10.81 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.683, allocations: 1.375 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.683, allocations: 2.75 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.6831, allocations: 18.92 kB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6831, allocations: 1.375 kB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.6832, allocations: 22.91 kB / 0.9609 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.6832, allocations: 4.125 kB / 0.9609 GB, free: 3.266 MB / 0.7169 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 6.787e-05/0.6833, allocations: 124.6 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.6833, allocations: 12.02 kB / 0.961 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.6833, allocations: 10.09 kB / 0.9611 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6833, allocations: 1.375 kB / 0.9611 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6833, allocations: 4 kB / 0.9611 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6833, allocations: 4 kB / 0.9611 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.6838, allocations: 435.9 kB / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6838, allocations: 3.938 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.6839, allocations: 9.484 kB / 0.9615 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6839, allocations: 4 kB / 0.9615 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6839, allocations: 5.375 kB / 0.9615 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6839, allocations: 1.375 kB / 0.9615 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6839, allocations: 3.938 kB / 0.9615 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.6842, allocations: 251.1 kB / 0.9617 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.6843, allocations: 83.77 kB / 0.9618 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.6843, allocations: 9.359 kB / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.6844, allocations: 6.875 kB / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.6845, allocations: 10.67 kB / 0.9619 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.6845, allocations: 2.75 kB / 0.9619 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.6845, allocations: 108.9 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6845, allocations: 4 kB / 0.962 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003276/0.6849, allocations: 47.73 kB / 0.962 GB, free: 2.301 MB / 0.7169 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.0003209/0.6852, allocations: 179.8 kB / 0.9622 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.6855, allocations: 97.42 kB / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6855, allocations: 0 / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6856, allocations: 49.28 kB / 0.9623 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.6859, allocations: 12.81 kB / 0.9623 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.6863, allocations: 258.2 kB / 0.9626 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.6865, allocations: 0.6918 MB / 0.9633 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.6865, allocations: 14.06 kB / 0.9633 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6865, allocations: 1.375 kB / 0.9633 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.003399/0.6899, allocations: 1.829 MB / 0.9651 GB, free: 244 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches