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.001133/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001182/0.001182, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.539/2.539, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7886, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00245/0.7911, allocations: 1.558 MB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7922, allocations: 0.8158 MB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.7922, allocations: 1.344 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.7923, allocations: 3.938 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.7924, allocations: 13.31 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.7929, allocations: 139.8 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.793, allocations: 88.8 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.7931, allocations: 22.34 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.7932, allocations: 40.62 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.7933, allocations: 48.5 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.7933, allocations: 8.625 kB / 0.9518 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.7935, allocations: 122.5 kB / 0.9519 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.7935, allocations: 22.42 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.7936, allocations: 42.33 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.7938, allocations: 174.2 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7939, allocations: 4 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7939, allocations: 0 / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7939, allocations: 0 / 0.9521 GB, free: 6.762 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.0006355/0.7945, allocations: 477.7 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7946, allocations: 9.812 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.7946, allocations: 17.98 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.7947, allocations: 186.9 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.7947, allocations: 2.875 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.7948, allocations: 12.62 kB / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.795, allocations: 88.09 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.795, allocations: 0 / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.795, allocations: 1.406 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.795, allocations: 5.422 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.7952, allocations: 51.25 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7957, allocations: 324.3 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.7959, allocations: 76.2 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.796, allocations: 45.48 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.796, allocations: 5.156 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.7963, allocations: 100.8 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.7963, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.7968, allocations: 178.9 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.7968, allocations: 58.22 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.7969, allocations: 133.9 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7969, allocations: 30.8 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.797, allocations: 103.5 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.797, allocations: 15.66 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.797, allocations: 30.89 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.7971, allocations: 325 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.7972, allocations: 22.61 kB / 0.9543 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.7973, allocations: 72 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.7974, allocations: 105.4 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7974, allocations: 0 / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002162/0.7977, allocations: 123.5 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7977, allocations: 6.094 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7977, allocations: 5.062 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7977, allocations: 2.75 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.7978, allocations: 14.52 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7978, allocations: 5.562 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.7979, allocations: 20.92 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7979, allocations: 4.531 kB / 0.9547 GB, free: 4.395 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 7.377e-05/0.798, allocations: 126.4 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.798, allocations: 7.906 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.798, allocations: 9.5 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7981, allocations: 2.469 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7981, allocations: 3.984 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7981, allocations: 0 / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.7985, allocations: 438.4 kB / 0.9552 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7985, allocations: 0 / 0.9552 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.7986, allocations: 3.312 kB / 0.9552 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7986, allocations: 5 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7986, allocations: 10.17 kB / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7986, allocations: 80 / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7986, allocations: 7.922 kB / 0.9552 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.799, allocations: 246.7 kB / 0.9555 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.799, allocations: 87.33 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.799, allocations: 9.219 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7991, allocations: 8.828 kB / 0.9556 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.7992, allocations: 6.531 kB / 0.9556 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7992, allocations: 6.672 kB / 0.9556 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.7992, allocations: 103.8 kB / 0.9557 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7993, allocations: 0 / 0.9557 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003361/0.7996, allocations: 47.86 kB / 0.9557 GB, free: 3.422 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.0003323/0.7999, allocations: 172.9 kB / 0.9559 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.8002, allocations: 91.17 kB / 0.956 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8002, allocations: 0 / 0.956 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.8003, allocations: 51.64 kB / 0.956 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.8006, allocations: 17.7 kB / 0.956 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.8011, allocations: 214.3 kB / 0.9563 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.8012, allocations: 0.6959 MB / 0.9569 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.8012, allocations: 6.469 kB / 0.9569 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.8013, allocations: 17.3 kB / 0.957 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 4.9e-07/0.8013, allocations: 0 / 0.957 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.004451/0.8057, allocations: 1.85 MB / 0.9588 GB, free: 1.387 MB / 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