Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.001364/0.001364, allocations: 107.4 kB / 16.27 MB, free: 6.355 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.001586/0.001586, allocations: 195.4 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.23 kB / 0.8132 GB, free: 32.89 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00483/0.3499, allocations: 1.504 MB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.3526, allocations: 0.8333 MB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.3527, allocations: 4 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.3527, allocations: 7.875 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.3529, allocations: 7.875 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009581/0.3539, allocations: 155.5 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3541, allocations: 95.7 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3543, allocations: 19.97 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3544, allocations: 31.92 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3545, allocations: 51.81 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3546, allocations: 8 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.355, allocations: 123.8 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.3551, allocations: 23.92 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.3552, allocations: 39.78 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.3556, allocations: 179.8 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3557, allocations: 4 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3557, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3557, allocations: 4 kB / 0.9533 GB, free: 5.812 MB / 0.7325 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.0009479/0.3567, allocations: 482.5 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3567, allocations: 12.03 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.3568, allocations: 8.844 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3571, allocations: 180.2 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3571, allocations: 8.312 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.3572, allocations: 8.375 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.3576, allocations: 89.89 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3576, allocations: 0 / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3576, allocations: 4 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3576, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.358, allocations: 51.95 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.3589, allocations: 324.7 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.3593, allocations: 78.53 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.3595, allocations: 40.84 kB / 0.9545 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3596, allocations: 8.141 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.36, allocations: 99.38 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.36, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0009334/0.3609, allocations: 177.5 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.361, allocations: 59.41 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3612, allocations: 130 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3612, allocations: 33.7 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.3614, allocations: 92.14 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.3614, allocations: 27.72 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.3615, allocations: 29.7 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3617, allocations: 322.8 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3619, allocations: 19.98 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3621, allocations: 78.23 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.3625, allocations: 105.9 kB / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3625, allocations: 0 / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005037/0.363, allocations: 121.4 kB / 0.9557 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3631, allocations: 8 kB / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3631, allocations: 0 / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3631, allocations: 4.188 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3633, allocations: 19.98 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.3633, allocations: 7.984 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.3635, allocations: 7.906 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3635, allocations: 4 kB / 0.9558 GB, free: 2.941 MB / 0.7325 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.0001726/0.3637, allocations: 136 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3638, allocations: 11.89 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.3638, allocations: 4.719 kB / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.3639, allocations: 11.94 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3639, allocations: 0 / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3639, allocations: 0 / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.365, allocations: 438.3 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.365, allocations: 4 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.3651, allocations: 4 kB / 0.9564 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3651, allocations: 0 / 0.9564 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3651, allocations: 15.92 kB / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3652, allocations: 0 / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.3652, allocations: 7.938 kB / 0.9564 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007069/0.3659, allocations: 235.4 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.366, allocations: 85.02 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.366, allocations: 4 kB / 0.9567 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3663, allocations: 11.98 kB / 0.9567 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3663, allocations: 11.88 kB / 0.9567 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3664, allocations: 7.984 kB / 0.9567 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.3665, allocations: 99.27 kB / 0.9568 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3665, allocations: 0 / 0.9568 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006223/0.3671, allocations: 48 kB / 0.9569 GB, free: 1.73 MB / 0.7325 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.0005508/0.3677, allocations: 170.5 kB / 0.957 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.3682, allocations: 87.88 kB / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3682, allocations: 0 / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.3685, allocations: 51.91 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.369, allocations: 16.3 kB / 0.9572 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.3698, allocations: 229.9 kB / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3702, allocations: 0.7 MB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.3703, allocations: 11.44 kB / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.3703, allocations: 0 / 0.9581 GB, free: 428 kB / 0.7325 GB Notification: Performance of Templates: time 0.006567/0.3768, allocations: 1.847 MB / 0.9599 GB, free: 14.57 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches