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.001096/0.001097, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 192 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.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.277 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.509/2.509, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004029, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7336, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001604/0.7352, allocations: 1.204 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.7366, allocations: 0.7675 MB / 0.9563 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.7367, allocations: 0.9375 kB / 0.9563 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.7367, allocations: 7.922 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.7368, allocations: 5.781 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.7375, allocations: 124.6 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.7376, allocations: 82.86 kB / 0.9566 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.7378, allocations: 18.8 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.7379, allocations: 34.14 kB / 0.9566 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.738, allocations: 42.11 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.738, allocations: 4.094 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.7383, allocations: 111 kB / 0.9568 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.7383, allocations: 24.16 kB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.7384, allocations: 39.61 kB / 0.9568 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.7386, allocations: 126.3 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7386, allocations: 4 kB / 0.9569 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7386, allocations: 0 / 0.9569 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7386, allocations: 0 / 0.9569 GB, free: 5.777 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.000711/0.7393, allocations: 469.4 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.7394, allocations: 10.34 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.7395, allocations: 11.67 kB / 0.9574 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7396, allocations: 173.2 kB / 0.9576 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.7396, allocations: 6.469 kB / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.7397, allocations: 4.781 kB / 0.9576 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.7399, allocations: 92.48 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.7399, allocations: 3.938 kB / 0.9577 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.74, allocations: 4 kB / 0.9577 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.74, allocations: 2.031 kB / 0.9577 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.7402, allocations: 57.16 kB / 0.9577 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.7407, allocations: 332.7 kB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.741, allocations: 85.72 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.7411, allocations: 54.22 kB / 0.9582 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.7412, allocations: 2 kB / 0.9582 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.7414, allocations: 96.77 kB / 0.9583 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.7414, allocations: 4 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004949/0.7419, allocations: 209.4 kB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.742, allocations: 52.94 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.7421, allocations: 140.7 kB / 0.9587 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.7421, allocations: 29.7 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.7422, allocations: 91.7 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.7422, allocations: 19.39 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.7422, allocations: 4 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.7423, allocations: 318.5 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.7423, allocations: 28.12 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.7425, allocations: 70.34 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.7425, allocations: 40.55 kB / 0.9592 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7426, allocations: 1.375 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000225/0.7428, allocations: 127.2 kB / 0.9594 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7428, allocations: 9.688 kB / 0.9594 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7428, allocations: 6.703 kB / 0.9594 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7428, allocations: 1.375 kB / 0.9594 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.7429, allocations: 20.3 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7429, allocations: 1.375 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.743, allocations: 22.84 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.743, allocations: 8.109 kB / 0.9594 GB, free: 3.516 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 ($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 7.807e-05/0.7431, allocations: 120.7 kB / 0.9596 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.7431, allocations: 6.656 kB / 0.9596 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.7432, allocations: 11.47 kB / 0.9596 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7432, allocations: 9.266 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7432, allocations: 0 / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7432, allocations: 3.984 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.7437, allocations: 443.8 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.7437, allocations: 0 / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.7438, allocations: 4.125 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.7438, allocations: 5.328 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.7438, allocations: 5.359 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7438, allocations: 0 / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7438, allocations: 3.938 kB / 0.96 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.7442, allocations: 255.1 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.7442, allocations: 83.77 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.7442, allocations: 5.328 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7444, allocations: 18.86 kB / 0.9604 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.7444, allocations: 8.109 kB / 0.9604 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.7444, allocations: 6.688 kB / 0.9604 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.7445, allocations: 102.2 kB / 0.9605 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7445, allocations: 0 / 0.9605 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003233/0.7448, allocations: 51.61 kB / 0.9605 GB, free: 2.547 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 (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.000372/0.7452, allocations: 172.7 kB / 0.9607 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.7455, allocations: 93.67 kB / 0.9608 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7455, allocations: 384 / 0.9608 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.7457, allocations: 55.53 kB / 0.9608 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.746, allocations: 15.47 kB / 0.9609 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.7464, allocations: 227.9 kB / 0.9611 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.7465, allocations: 0.6945 MB / 0.9618 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.7466, allocations: 8.125 kB / 0.9618 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.7466, allocations: 10.41 kB / 0.9618 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7466, allocations: 0 / 0.9618 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of Templates: time 0.004788/0.7514, allocations: 1.771 MB / 0.9635 GB, free: 0.5469 MB / 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/jenkins/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