Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001275/0.001275, allocations: 100.1 kB / 15.88 MB, free: 12 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.001361/0.001361, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.05 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2706, allocations: 157.4 MB / 1.053 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003125/0.2738, allocations: 1.56 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2754, allocations: 0.8374 MB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.2755, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.2755, allocations: 7.922 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.2756, allocations: 15.86 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.2763, allocations: 127.7 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2764, allocations: 87.7 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.2765, allocations: 11.98 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2766, allocations: 43.84 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.2767, allocations: 39.83 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2768, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.277, allocations: 115.9 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.2771, allocations: 23.92 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.2771, allocations: 35.8 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.2774, allocations: 132 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2774, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2774, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2774, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 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.000816/0.2782, allocations: 486.5 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2783, allocations: 15.97 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.2783, allocations: 8.844 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2785, allocations: 178.2 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2785, allocations: 8.312 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.2785, allocations: 4.375 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.2788, allocations: 89.95 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2788, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.2788, allocations: 3.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2788, allocations: 3.938 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.279, allocations: 55.95 kB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.2796, allocations: 312.8 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.2798, allocations: 90.56 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2799, allocations: 44.84 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.28, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.2802, allocations: 91.5 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2802, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005049/0.2807, allocations: 189.5 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2808, allocations: 59.34 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.2809, allocations: 130 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.2809, allocations: 33.7 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.281, allocations: 88.14 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.281, allocations: 27.72 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.2811, allocations: 33.66 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2812, allocations: 326.8 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.2813, allocations: 23.98 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.2814, allocations: 65.98 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2816, allocations: 109.9 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2816, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002493/0.2818, allocations: 125.4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2819, allocations: 4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2819, allocations: 8 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2819, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.282, allocations: 19.92 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.282, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.2821, allocations: 15.91 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2821, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 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.924e-05/0.2822, allocations: 137 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2822, allocations: 7.906 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2823, allocations: 8.719 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2823, allocations: 3.938 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2823, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2823, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.2828, allocations: 438.3 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2829, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.2829, allocations: 4 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2829, allocations: 0 / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2829, allocations: 11.98 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2829, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2829, allocations: 3.938 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.2833, allocations: 243.3 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.2834, allocations: 89 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.2834, allocations: 4 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2835, allocations: 11.98 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2836, allocations: 3.938 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2836, allocations: 7.984 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.2837, allocations: 99.27 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2837, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000331/0.284, allocations: 52 kB / 1.059 GB, free: 1.227 MB / 0.8106 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.0003634/0.2844, allocations: 175.6 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2847, allocations: 96.06 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2847, allocations: 4.125 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.2848, allocations: 47.97 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2851, allocations: 10.23 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.2856, allocations: 251.6 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.2859, allocations: 0.6887 MB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.2859, allocations: 15.38 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.2859, allocations: 0 / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.003783/0.2897, allocations: 1.832 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches