Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00114/0.00114, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 61.28 kB / 0.8986 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 157.4 MB / 1.052 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003566/0.3378, allocations: 1.568 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3396, allocations: 0.8256 MB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.3397, allocations: 3.938 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.3398, allocations: 3.984 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.3399, allocations: 15.86 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.3408, allocations: 131.7 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.341, allocations: 91.69 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3411, allocations: 16 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3412, allocations: 39.91 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.3413, allocations: 47.81 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.3414, allocations: 8 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.3417, allocations: 123.8 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.3417, allocations: 23.91 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.3418, allocations: 39.78 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3421, allocations: 175.9 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3422, allocations: 7.984 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3422, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3422, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 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.0008662/0.3431, allocations: 484 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3431, allocations: 8.031 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.3432, allocations: 8.844 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3433, allocations: 180.2 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3434, allocations: 8.375 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3434, allocations: 8.359 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3437, allocations: 93.88 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3437, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3437, allocations: 7.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3437, allocations: 4 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3439, allocations: 39.97 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.3445, allocations: 328.7 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.3447, allocations: 78.55 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3449, allocations: 44.83 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3449, allocations: 4 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.3452, allocations: 99.5 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.654e-06/0.3452, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.3457, allocations: 181.5 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3458, allocations: 55.41 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3459, allocations: 140.3 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3459, allocations: 33.69 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.346, allocations: 92.14 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.346, allocations: 19.75 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.3461, allocations: 29.7 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3462, allocations: 322.8 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.3463, allocations: 27.98 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.3464, allocations: 76.98 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3466, allocations: 97.88 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3466, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/0.3469, allocations: 125.4 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3469, allocations: 4.188 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3469, allocations: 8 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3469, allocations: 4 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.347, allocations: 15.92 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.347, allocations: 4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.3471, allocations: 15.84 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3471, allocations: 8 kB / 1.058 GB, free: 2.773 MB / 0.8106 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.0001061/0.3473, allocations: 125.7 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3473, allocations: 11.91 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3473, allocations: 12.7 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3473, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3473, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3474, allocations: 4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.3479, allocations: 426.4 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3479, allocations: 4 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.348, allocations: 7.922 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.348, allocations: 8 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.348, allocations: 0 / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.348, allocations: 0 / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.348, allocations: 7.875 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3484, allocations: 251.8 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.3485, allocations: 81.02 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3485, allocations: 11.98 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3486, allocations: 4.047 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.3487, allocations: 19.91 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3487, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.3488, allocations: 101.4 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3488, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003533/0.3492, allocations: 47.98 kB / 1.059 GB, free: 1.574 MB / 0.8106 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.0004032/0.3496, allocations: 173.5 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3499, allocations: 91.89 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3499, allocations: 3.938 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.35, allocations: 52.27 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3503, allocations: 12 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.3509, allocations: 217.4 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3511, allocations: 0.6961 MB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.3512, allocations: 7.984 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3512, allocations: 15.44 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/0.3512, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of Templates: time 0.005118/0.3563, allocations: 1.85 MB / 1.062 GB, free: 14.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches