Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_10_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_10_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.000788/0.000788, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009329/0.0009328, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6687, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001793/0.6706, allocations: 1.219 MB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.672, allocations: 0.8104 MB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.6721, allocations: 4 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.6722, allocations: 3.938 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.6722, allocations: 7.922 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.6728, allocations: 127.7 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.673, allocations: 91.69 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.673, allocations: 11.98 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.6731, allocations: 31.92 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.6732, allocations: 43.81 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.6733, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.6735, allocations: 123.8 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.6735, allocations: 23.84 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.6736, allocations: 61.5 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.6738, allocations: 125.7 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6738, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6738, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6738, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 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.0006546/0.6745, allocations: 478.5 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6745, allocations: 8.031 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.6746, allocations: 8.844 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6747, allocations: 176.2 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.6747, allocations: 4.312 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.6748, allocations: 16.36 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.675, allocations: 89.95 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.675, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.675, allocations: 3.938 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6751, allocations: 4 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.6752, allocations: 55.97 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.6758, allocations: 336.6 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.676, allocations: 86.55 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6762, allocations: 48.83 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6762, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.6764, allocations: 99.39 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.6764, allocations: 0 / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.677, allocations: 197.8 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.677, allocations: 59.56 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.6771, allocations: 132.4 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6772, allocations: 29.7 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.6772, allocations: 100.1 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.6773, allocations: 15.81 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.6773, allocations: 21.7 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6774, allocations: 326.8 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.6775, allocations: 27.98 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.6776, allocations: 69.94 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.6778, allocations: 113.9 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6778, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000257/0.6781, allocations: 133.3 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.6781, allocations: 11.94 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6781, allocations: 4.188 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6781, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.6782, allocations: 19.98 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6782, allocations: 4.062 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.6783, allocations: 15.92 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6783, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 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.364e-05/0.6784, allocations: 126.2 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.6785, allocations: 11.91 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.6785, allocations: 12.72 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6785, allocations: 0 / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6785, allocations: 3.984 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6785, allocations: 4.031 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.6791, allocations: 450.4 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6791, allocations: 3.938 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.6791, allocations: 4 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6791, allocations: 3.984 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6792, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6792, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6792, allocations: 7.938 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.6795, allocations: 247.4 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.6796, allocations: 89.02 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.6796, allocations: 0 / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6798, allocations: 11.98 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.6798, allocations: 19.86 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6798, allocations: 4 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.6799, allocations: 103.2 kB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6799, allocations: 0 / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003273/0.6802, allocations: 51.98 kB / 1.03 GB, free: 8.977 MB / 0.7794 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.0003657/0.6806, allocations: 168.3 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.6809, allocations: 91.89 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6809, allocations: 0 / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.681, allocations: 60.28 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6813, allocations: 8.734 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.6818, allocations: 262.6 kB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.6821, allocations: 0.6965 MB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.6821, allocations: 11.44 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6821, allocations: 0 / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.003799/0.6859, allocations: 1.838 MB / 1.033 GB, free: 5.805 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches