Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_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.00153/0.00153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001681/0.001681, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.962/2.962, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 69.3 kB / 0.8986 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3522, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002684/0.355, allocations: 1.566 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3564, allocations: 0.826 MB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.3565, allocations: 4 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.3565, allocations: 7.938 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.3566, allocations: 7.922 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.3572, allocations: 135.7 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3573, allocations: 87.72 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3574, allocations: 15.98 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.3575, allocations: 39.91 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.3576, allocations: 47.81 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3576, allocations: 8 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3579, allocations: 123.8 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.3579, allocations: 23.92 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.358, allocations: 43.77 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3583, allocations: 175.9 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3583, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3583, allocations: 4 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3583, allocations: 0 / 1.055 GB, free: 5.598 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.001059/0.3594, allocations: 482.5 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.3594, allocations: 20.5 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.3595, allocations: 12.83 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3597, allocations: 172.2 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.3598, allocations: 4.375 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3598, allocations: 8.375 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.3601, allocations: 93.88 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3601, allocations: 3.984 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3601, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3602, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.3603, allocations: 51.91 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.361, allocations: 324.8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3613, allocations: 78.58 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3614, allocations: 44.83 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3615, allocations: 4.156 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.3618, allocations: 95.34 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3618, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000556/0.3624, allocations: 181.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.3624, allocations: 63.34 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3626, allocations: 130 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3626, allocations: 29.7 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.3627, allocations: 100.1 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3627, allocations: 23.73 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.3628, allocations: 29.7 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.363, allocations: 326.8 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.363, allocations: 19.98 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3632, allocations: 70 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3634, allocations: 109.9 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3634, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002267/0.3636, allocations: 117.4 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.3636, allocations: 9.094 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3637, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3637, allocations: 4 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3638, allocations: 15.98 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3638, allocations: 12.12 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.3639, allocations: 15.89 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3639, allocations: 4 kB / 1.058 GB, free: 2.711 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.0001374/0.3641, allocations: 132.1 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3641, allocations: 7.906 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.3641, allocations: 4.719 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3641, allocations: 4 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.3641, allocations: 7.984 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3642, allocations: 0 / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.3648, allocations: 434.3 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3648, allocations: 0 / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.3648, allocations: 7.938 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3648, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3648, allocations: 7.984 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3649, allocations: 0 / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3649, allocations: 7.938 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3652, allocations: 243.3 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3653, allocations: 85.02 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3653, allocations: 4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3654, allocations: 7.984 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.3655, allocations: 7.984 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3655, allocations: 15.97 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.908e-05/0.3656, allocations: 99.27 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3656, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003511/0.366, allocations: 51.98 kB / 1.059 GB, free: 1.508 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.0004293/0.3664, allocations: 159.7 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.3667, allocations: 95.81 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3668, allocations: 0 / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3669, allocations: 47.97 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3672, allocations: 20.48 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.3677, allocations: 220.5 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.368, allocations: 0.6961 MB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.3681, allocations: 8 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.3681, allocations: 15.42 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3681, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of Templates: time 0.004915/0.3731, allocations: 1.85 MB / 1.062 GB, free: 14.38 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches