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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 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.001899/0.001899, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.06 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003013/0.3511, allocations: 1.499 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3526, allocations: 0.8449 MB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.3527, allocations: 4 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.3527, allocations: 7.938 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.3528, allocations: 7.875 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.3535, allocations: 155.5 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3537, allocations: 91.7 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.3538, allocations: 19.97 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3539, allocations: 39.91 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.354, allocations: 43.83 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.354, allocations: 8 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3543, allocations: 127.8 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3543, allocations: 23.91 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.3544, allocations: 39.8 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.3547, allocations: 175.8 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3547, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3547, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3547, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 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.0007842/0.3555, allocations: 494.4 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3556, allocations: 8.031 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.3556, allocations: 12.84 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3558, allocations: 180.2 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.3558, allocations: 4.375 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3558, allocations: 8.375 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3561, allocations: 85.95 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3561, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3561, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3561, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3563, allocations: 51.89 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.3569, allocations: 328.7 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3571, allocations: 78.53 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3573, allocations: 41.09 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3573, allocations: 7.922 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.3576, allocations: 99.36 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3576, allocations: 3.938 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.3581, allocations: 181.5 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3582, allocations: 59.41 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3583, allocations: 127.2 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3583, allocations: 29.7 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.3584, allocations: 100.1 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3584, allocations: 27.72 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.3585, allocations: 25.72 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3586, allocations: 326.8 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.3587, allocations: 19.98 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3588, allocations: 73.98 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.359, allocations: 105.9 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.359, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/0.3593, allocations: 125.3 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3593, allocations: 8 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3593, allocations: 0 / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3593, allocations: 4 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.3594, allocations: 12.17 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3594, allocations: 15.88 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.3595, allocations: 8 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3595, allocations: 4 kB / 1.074 GB, free: 4.441 MB / 0.8262 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.0001122/0.3596, allocations: 129.8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3597, allocations: 7.906 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.3597, allocations: 4.719 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3597, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3597, allocations: 8 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3597, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.3603, allocations: 442.2 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3603, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3604, allocations: 4.047 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3604, allocations: 7.984 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3604, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3604, allocations: 3.984 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3604, allocations: 7.938 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.3608, allocations: 235.8 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3609, allocations: 89 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3609, allocations: 4 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.361, allocations: 4 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3611, allocations: 15.92 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3611, allocations: 4 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.342e-05/0.3612, allocations: 105.1 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3612, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003429/0.3615, allocations: 51.84 kB / 1.075 GB, free: 3.234 MB / 0.8262 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.0003583/0.3619, allocations: 174.2 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3622, allocations: 99.75 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3622, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3623, allocations: 47.97 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3626, allocations: 11.98 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.3631, allocations: 208.5 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3634, allocations: 0.6924 MB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.3634, allocations: 11.78 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3634, allocations: 11.44 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3634, allocations: 0 / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.004902/0.3684, allocations: 1.887 MB / 1.078 GB, free: 72 kB / 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