Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008281/0.008281, allocations: 102.7 kB / 15.74 MB, free: 6.449 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.001574/0.001574, allocations: 199.1 kB / 16.68 MB, free: 6.352 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3424, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002763/0.3452, allocations: 1.499 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3467, allocations: 0.8334 MB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.3468, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.3468, allocations: 7.938 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3469, allocations: 15.86 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.3476, allocations: 147.5 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3478, allocations: 91.7 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3479, allocations: 15.97 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.348, allocations: 43.86 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.3481, allocations: 47.83 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3481, allocations: 8 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.3484, allocations: 127.8 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.3485, allocations: 15.98 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.3485, allocations: 35.8 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.3489, allocations: 191.3 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3489, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3489, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3489, allocations: 0 / 1.17 GB, free: 3.738 MB / 0.92 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.0008131/0.3497, allocations: 490.2 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3498, allocations: 8.031 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3498, allocations: 8.891 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.35, allocations: 176.3 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.35, allocations: 8.375 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.35, allocations: 4.375 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3503, allocations: 89.89 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3503, allocations: 4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3503, allocations: 7.984 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3503, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3505, allocations: 43.97 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.3511, allocations: 324.7 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.3514, allocations: 86.56 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3515, allocations: 52.77 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3515, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.3518, allocations: 95.36 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3518, allocations: 7.938 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005247/0.3523, allocations: 189.6 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3524, allocations: 51.41 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3525, allocations: 136.4 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3525, allocations: 25.7 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.3526, allocations: 96.12 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3526, allocations: 19.86 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3527, allocations: 33.7 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3528, allocations: 326.8 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.3529, allocations: 31.98 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.353, allocations: 62 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.3532, allocations: 105.9 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3532, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.3535, allocations: 125.5 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3535, allocations: 4 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3535, allocations: 0 / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3535, allocations: 4 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.3536, allocations: 19.92 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3537, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.3537, allocations: 20.06 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3538, allocations: 12 kB / 1.172 GB, free: 0.8398 MB / 0.92 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 9.225e-05/0.3539, allocations: 117.8 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3539, allocations: 7.953 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3539, allocations: 16.66 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3539, allocations: 4.031 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3539, allocations: 0 / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.354, allocations: 3.984 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.3545, allocations: 430.4 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3545, allocations: 0 / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.3546, allocations: 4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3546, allocations: 0 / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3546, allocations: 3.984 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.3546, allocations: 4 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3546, allocations: 12.2 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3551, allocations: 251.6 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3551, allocations: 85.06 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3551, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3553, allocations: 11.98 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.3553, allocations: 11.73 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3553, allocations: 7.984 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.3554, allocations: 103.2 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003675/0.3558, allocations: 55.8 kB / 1.173 GB, free: 15.63 MB / 0.9356 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.0004153/0.3562, allocations: 171.6 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3565, allocations: 91.83 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3565, allocations: 0 / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3567, allocations: 43.97 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.357, allocations: 18.02 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.3574, allocations: 200.4 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3577, allocations: 0.6963 MB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.06e-05/0.3578, allocations: 4 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.3578, allocations: 11.44 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3578, allocations: 0 / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.005172/0.363, allocations: 1.9 MB / 1.176 GB, free: 12.48 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches