Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.0008943/0.0008942, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006704/0.006704, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7793, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002707/0.7821, allocations: 1.224 MB / 0.9562 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.7838, allocations: 0.8069 MB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.784, allocations: 0 / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.784, allocations: 7.922 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.7841, allocations: 14.39 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.7849, allocations: 124.5 kB / 0.9572 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.7851, allocations: 88.67 kB / 0.9572 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.7852, allocations: 17.25 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.7854, allocations: 34.97 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.7855, allocations: 41.98 kB / 0.9573 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.7855, allocations: 7.281 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.7859, allocations: 124.6 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.7859, allocations: 14.8 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.786, allocations: 55.75 kB / 0.9575 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.7864, allocations: 178.4 kB / 0.9577 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7864, allocations: 0 / 0.9577 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7864, allocations: 0 / 0.9577 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7865, allocations: 0 / 0.9577 GB, free: 5.656 MB / 0.7169 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.0007798/0.7872, allocations: 478 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7873, allocations: 8.938 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.7874, allocations: 12.44 kB / 0.9582 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.7875, allocations: 178.2 kB / 0.9583 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.7875, allocations: 2.562 kB / 0.9583 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.7876, allocations: 4.938 kB / 0.9583 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.7878, allocations: 104.3 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7879, allocations: 0 / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.7879, allocations: 1.375 kB / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7879, allocations: 0 / 0.9584 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.7881, allocations: 58.28 kB / 0.9585 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.7887, allocations: 336.4 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.789, allocations: 90.48 kB / 0.9589 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.7891, allocations: 50.7 kB / 0.959 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.7891, allocations: 1.281 kB / 0.959 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.7894, allocations: 106.2 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.7894, allocations: 0 / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005299/0.7899, allocations: 204.9 kB / 0.9593 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.79, allocations: 53.53 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.7901, allocations: 136.8 kB / 0.9594 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.7901, allocations: 30.83 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.7901, allocations: 95.84 kB / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.7902, allocations: 14.41 kB / 0.9596 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.7902, allocations: 22.05 kB / 0.9596 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.7903, allocations: 321.9 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.7904, allocations: 36.47 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.7905, allocations: 66.91 kB / 0.96 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.7906, allocations: 111 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7907, allocations: 1.75 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.7909, allocations: 132.2 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.791, allocations: 5.5 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.791, allocations: 1.375 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.791, allocations: 2.75 kB / 0.9602 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.7911, allocations: 19.17 kB / 0.9603 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.7911, allocations: 2.75 kB / 0.9603 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.7912, allocations: 21.28 kB / 0.9603 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.7912, allocations: 9.484 kB / 0.9603 GB, free: 3.289 MB / 0.7169 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.421e-05/0.7913, allocations: 123.3 kB / 0.9604 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.87e-05/0.7913, allocations: 8.031 kB / 0.9604 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.7914, allocations: 6.094 kB / 0.9604 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7914, allocations: 5.375 kB / 0.9604 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7914, allocations: 1.375 kB / 0.9604 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7914, allocations: 3.984 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.7919, allocations: 442.5 kB / 0.9609 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7919, allocations: 5.375 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.792, allocations: 8.062 kB / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.792, allocations: 0 / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.792, allocations: 10.73 kB / 0.9609 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.792, allocations: 0 / 0.9609 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.792, allocations: 3.938 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.7924, allocations: 255.1 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.7924, allocations: 83.77 kB / 0.9612 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.7924, allocations: 5.375 kB / 0.9612 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.7926, allocations: 16.17 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.7926, allocations: 6.688 kB / 0.9612 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7926, allocations: 6.734 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.7927, allocations: 107.6 kB / 0.9613 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7927, allocations: 0 / 0.9613 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003715/0.7931, allocations: 51.02 kB / 0.9614 GB, free: 2.316 MB / 0.7169 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.0004235/0.7935, allocations: 166.6 kB / 0.9615 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.7938, allocations: 97.92 kB / 0.9616 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7938, allocations: 0 / 0.9616 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.794, allocations: 52.5 kB / 0.9617 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.7943, allocations: 22.44 kB / 0.9617 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.7948, allocations: 224.2 kB / 0.9619 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.7949, allocations: 0.6948 MB / 0.9626 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.7949, allocations: 10.77 kB / 0.9626 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.795, allocations: 11.41 kB / 0.9626 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.795, allocations: 3.938 kB / 0.9626 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.005398/0.8004, allocations: 1.79 MB / 0.9644 GB, free: 316 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches