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.00162/0.00162, allocations: 106.7 kB / 15.99 MB, free: 6.355 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.002056/0.002056, allocations: 195 kB / 16.91 MB, free: 6.191 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.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.168/2.168, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.31 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2706, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002888/0.2735, allocations: 1.56 MB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.275, allocations: 0.8217 MB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.2751, allocations: 0 / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.2751, allocations: 7.938 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.2752, allocations: 7.938 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.2758, allocations: 139.7 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.276, allocations: 87.77 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.2761, allocations: 15.98 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.2762, allocations: 47.83 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.2763, allocations: 43.83 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2763, allocations: 8 kB / 0.9524 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.2765, allocations: 131.8 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.2766, allocations: 19.92 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.2766, allocations: 39.8 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2769, allocations: 128 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2769, allocations: 0 / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2769, allocations: 0 / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2769, allocations: 4 kB / 0.9527 GB, free: 6.188 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.0007194/0.2776, allocations: 478.5 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2777, allocations: 12.03 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.2777, allocations: 8.844 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2779, allocations: 180.2 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2779, allocations: 8.312 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2779, allocations: 4.375 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2782, allocations: 93.94 kB / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2782, allocations: 0 / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2782, allocations: 0 / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2782, allocations: 4 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2784, allocations: 43.97 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.279, allocations: 336.6 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2792, allocations: 78.55 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2793, allocations: 44.77 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2794, allocations: 4 kB / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.2796, allocations: 103.5 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.2796, allocations: 0 / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.2802, allocations: 177.8 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.2802, allocations: 55.41 kB / 0.9543 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2803, allocations: 136.3 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2804, allocations: 29.7 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.2804, allocations: 100.1 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2804, allocations: 15.75 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.2805, allocations: 29.7 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2806, allocations: 326.8 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.2807, allocations: 23.98 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2808, allocations: 81.91 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.281, allocations: 101.9 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.281, allocations: 0 / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002662/0.2813, allocations: 125.4 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2813, allocations: 11.98 kB / 0.9552 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2813, allocations: 0 / 0.9552 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2814, allocations: 4 kB / 0.9552 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.2814, allocations: 8 kB / 0.9553 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2815, allocations: 12.25 kB / 0.9553 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.2815, allocations: 15.89 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2816, allocations: 4 kB / 0.9553 GB, free: 3.305 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.0001058/0.2817, allocations: 125.7 kB / 0.9554 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2817, allocations: 7.906 kB / 0.9554 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.2817, allocations: 12.7 kB / 0.9554 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2817, allocations: 0 / 0.9554 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2818, allocations: 4 kB / 0.9554 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2818, allocations: 4 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.2823, allocations: 430.3 kB / 0.9558 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2823, allocations: 0 / 0.9558 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.2824, allocations: 7.984 kB / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2824, allocations: 0 / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2824, allocations: 0 / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2824, allocations: 0 / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2824, allocations: 11.88 kB / 0.9559 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2828, allocations: 247.4 kB / 0.9561 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.2829, allocations: 85.02 kB / 0.9562 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.2829, allocations: 0 / 0.9562 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.283, allocations: 15.92 kB / 0.9562 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.2831, allocations: 11.92 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2831, allocations: 11.94 kB / 0.9562 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.2832, allocations: 99.27 kB / 0.9563 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2832, allocations: 0 / 0.9563 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000342/0.2835, allocations: 51.98 kB / 0.9564 GB, free: 2.102 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.0003603/0.2839, allocations: 170.8 kB / 0.9565 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.2842, allocations: 95.88 kB / 0.9566 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2842, allocations: 0 / 0.9566 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2844, allocations: 51.91 kB / 0.9567 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2846, allocations: 7.984 kB / 0.9567 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.2851, allocations: 246.3 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2854, allocations: 0.6962 MB / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.2854, allocations: 11.44 kB / 0.9576 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2854, allocations: 4 kB / 0.9576 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of Templates: time 0.003766/0.2892, allocations: 1.846 MB / 0.9594 GB, free: 14.93 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 -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