Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_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_9_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.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002406/0.002406, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.544/2.544, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 55.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7859, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002793/0.7887, allocations: 1.57 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.7901, allocations: 0.8074 MB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.7901, allocations: 5.156 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.7902, allocations: 0 / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.7903, allocations: 13.58 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.7909, allocations: 143.9 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.791, allocations: 89.16 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.7911, allocations: 14.33 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.7913, allocations: 43.16 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.7913, allocations: 48.75 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.7914, allocations: 8.719 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.7916, allocations: 126 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.7916, allocations: 24.23 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.7917, allocations: 38.09 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.792, allocations: 181.1 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.792, allocations: 0 / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.792, allocations: 1.188 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.792, allocations: 0 / 0.9521 GB, free: 6.879 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.0006937/0.7927, allocations: 480.8 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.7928, allocations: 14.16 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.7928, allocations: 8.688 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.7929, allocations: 185 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.7929, allocations: 3.094 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.793, allocations: 8.469 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.7932, allocations: 88.23 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.7932, allocations: 0 / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7932, allocations: 1.375 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7932, allocations: 5.5 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.7934, allocations: 50.02 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.794, allocations: 321.3 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.7942, allocations: 83.88 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7943, allocations: 42.53 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.7944, allocations: 1.312 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.7946, allocations: 95.75 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7947, allocations: 0 / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.7952, allocations: 191.5 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7953, allocations: 58.42 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7954, allocations: 134.6 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7954, allocations: 27.23 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.7955, allocations: 96.14 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.7955, allocations: 18.36 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.7955, allocations: 30.72 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.7956, allocations: 325.1 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.7957, allocations: 21.95 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.7958, allocations: 72.39 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.796, allocations: 113.6 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.796, allocations: 4 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002543/0.7963, allocations: 128.4 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7963, allocations: 4.844 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7963, allocations: 2.281 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7963, allocations: 2.25 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.7964, allocations: 18.11 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7964, allocations: 2.156 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.7965, allocations: 12.41 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.7965, allocations: 8.812 kB / 0.9546 GB, free: 4.512 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 9.71e-05/0.7966, allocations: 136.8 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.7967, allocations: 3.406 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.7967, allocations: 9.844 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7967, allocations: 1.156 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7967, allocations: 1.156 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7967, allocations: 0 / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.7973, allocations: 434.1 kB / 0.9552 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7973, allocations: 5.172 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.7973, allocations: 6.438 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7974, allocations: 1.312 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.7974, allocations: 1.312 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7974, allocations: 1.25 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7974, allocations: 3.938 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.7978, allocations: 253.3 kB / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.7978, allocations: 91.38 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.7978, allocations: 1.344 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.798, allocations: 5.156 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.798, allocations: 11.67 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.798, allocations: 2.656 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.7981, allocations: 113.8 kB / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7981, allocations: 0 / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003722/0.7985, allocations: 42.78 kB / 0.9557 GB, free: 3.543 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.0003877/0.7989, allocations: 179.5 kB / 0.9559 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.7992, allocations: 86.86 kB / 0.956 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7992, allocations: 1.281 kB / 0.956 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.7993, allocations: 54.45 kB / 0.956 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7996, allocations: 8.812 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.8, allocations: 219.7 kB / 0.9563 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.8001, allocations: 0.6907 MB / 0.9569 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.8001, allocations: 11.67 kB / 0.9569 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.8002, allocations: 8.562 kB / 0.9569 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8002, allocations: 4.938 kB / 0.9569 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.004676/0.8049, allocations: 1.84 MB / 0.9587 GB, free: 1.512 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches