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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001414/0.001414, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001571/0.001571, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 60.16 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3409, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002572/0.3435, allocations: 1.513 MB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3449, allocations: 0.8334 MB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.345, allocations: 0 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.345, allocations: 3.938 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.3451, allocations: 19.8 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.3457, allocations: 151.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3458, allocations: 91.59 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3459, allocations: 12 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.346, allocations: 47.77 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.3461, allocations: 47.83 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3461, allocations: 8 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3464, allocations: 123.9 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.3464, allocations: 19.97 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.3465, allocations: 39.8 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3467, allocations: 187.4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.3467, allocations: 4 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3467, allocations: 3.938 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3467, allocations: 0 / 1.03 GB, free: 14.95 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.0006823/0.3474, allocations: 486.5 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.3475, allocations: 8.031 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.3475, allocations: 8.844 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3476, allocations: 172.2 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3477, allocations: 8.375 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3477, allocations: 12.36 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3479, allocations: 89.89 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3479, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3479, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3479, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3481, allocations: 47.97 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.3486, allocations: 332.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3488, allocations: 78.53 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.349, allocations: 48.83 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.349, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.3492, allocations: 95.27 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3492, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004931/0.3497, allocations: 193.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3498, allocations: 51.41 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3499, allocations: 132.8 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3499, allocations: 33.7 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3499, allocations: 92.12 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.35, allocations: 19.75 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.35, allocations: 33.7 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3501, allocations: 322.8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.3502, allocations: 23.98 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.3503, allocations: 73.48 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3505, allocations: 105.9 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3505, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/0.3507, allocations: 129.4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3508, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3508, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3508, allocations: 4.188 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.3509, allocations: 15.94 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3509, allocations: 7.922 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.351, allocations: 11.91 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.351, allocations: 4 kB / 1.032 GB, free: 12.07 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 8.453e-05/0.3511, allocations: 125.7 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.3511, allocations: 7.906 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3511, allocations: 20.7 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3511, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3511, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3512, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.3517, allocations: 430.7 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3517, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.3517, allocations: 15.92 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3517, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3518, allocations: 4 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3518, allocations: 4 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3518, allocations: 3.938 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.3521, allocations: 247.4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.3522, allocations: 85.02 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3522, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3523, allocations: 15.98 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3524, allocations: 7.922 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3524, allocations: 8 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.3524, allocations: 98.36 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3524, allocations: 0 / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003235/0.3528, allocations: 51.98 kB / 1.033 GB, free: 10.87 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.0003264/0.3531, allocations: 183.8 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3534, allocations: 87.88 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3534, allocations: 0 / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3535, allocations: 43.98 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3538, allocations: 12.36 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.3542, allocations: 204.2 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3544, allocations: 0.6885 MB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.3545, allocations: 7.984 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.3545, allocations: 11.44 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3545, allocations: 0 / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of Templates: time 0.004439/0.359, allocations: 1.901 MB / 1.036 GB, free: 7.707 MB / 0.8106 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 -s cvode -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/jenkins1/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