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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001307/0.001307, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001411/0.001412, allocations: 191 kB / 17.29 MB, free: 5.516 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.31 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3188, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003283/0.3221, allocations: 1.508 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3237, allocations: 0.8334 MB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.3238, allocations: 7.938 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.3239, allocations: 3.938 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.3239, allocations: 11.86 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.3248, allocations: 155.5 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.325, allocations: 83.77 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3251, allocations: 16 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3252, allocations: 47.83 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.3253, allocations: 43.83 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3254, allocations: 8 kB / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.3257, allocations: 127.8 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.3257, allocations: 23.91 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.3258, allocations: 31.86 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.3262, allocations: 183.5 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3262, allocations: 4 kB / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3262, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.3262, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7325 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.000934/0.3272, allocations: 490.5 kB / 0.9546 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3272, allocations: 8.031 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.3273, allocations: 8.844 kB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3274, allocations: 180.2 kB / 0.9548 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.3275, allocations: 8.375 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3275, allocations: 12.25 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3278, allocations: 85.95 kB / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3278, allocations: 0 / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3278, allocations: 4 kB / 0.9549 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.3278, allocations: 7.938 kB / 0.9549 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.328, allocations: 43.95 kB / 0.9549 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.3286, allocations: 324.8 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3288, allocations: 90.56 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.329, allocations: 36.84 kB / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.329, allocations: 0 / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3292, allocations: 103.4 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.3292, allocations: 0 / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005272/0.3298, allocations: 177.5 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3298, allocations: 67.47 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.33, allocations: 141.1 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.33, allocations: 29.7 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.3301, allocations: 88.14 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3301, allocations: 23.73 kB / 0.956 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.3301, allocations: 25.72 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3303, allocations: 322.8 kB / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.3304, allocations: 27.98 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3305, allocations: 73.98 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3307, allocations: 101.9 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3307, allocations: 4 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002439/0.3309, allocations: 121.4 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.331, allocations: 6.188 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.331, allocations: 4.188 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.331, allocations: 12.03 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.3311, allocations: 15.92 kB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3311, allocations: 4 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.3312, allocations: 11.91 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3312, allocations: 4 kB / 0.9567 GB, free: 2.102 MB / 0.7325 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 0.0001078/0.3313, allocations: 123.8 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3313, allocations: 11.89 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3314, allocations: 12.72 kB / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3314, allocations: 0 / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3314, allocations: 7.875 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3314, allocations: 0 / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.332, allocations: 434.3 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.332, allocations: 0 / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3321, allocations: 7.984 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3321, allocations: 4 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3321, allocations: 4 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3321, allocations: 0 / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3321, allocations: 3.938 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3325, allocations: 247.3 kB / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3326, allocations: 81.02 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3326, allocations: 7.984 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3327, allocations: 12 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3328, allocations: 11.92 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3328, allocations: 0 / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.01e-05/0.3329, allocations: 95.27 kB / 0.9577 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3329, allocations: 4 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003884/0.3333, allocations: 51.98 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 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.0003845/0.3337, allocations: 183.5 kB / 0.9579 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.334, allocations: 87.83 kB / 0.958 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.334, allocations: 0 / 0.958 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3341, allocations: 47.97 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3344, allocations: 12.38 kB / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.3349, allocations: 204.2 kB / 0.9582 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3352, allocations: 0.7 MB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.3352, allocations: 12 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3353, allocations: 11.44 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.3353, allocations: 4 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.00556/0.3408, allocations: 1.881 MB / 0.9608 GB, free: 13.73 MB / 0.7481 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 -s cvode -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/jenkins1/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