Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001709/0.001709, allocations: 105.9 kB / 15.98 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.001502/0.001502, allocations: 196.9 kB / 16.91 MB, free: 6.199 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.644/2.644, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.53 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002751/0.2998, allocations: 1.572 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3011, allocations: 0.818 MB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.3011, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.3012, allocations: 3.938 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.3013, allocations: 11.91 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.3018, allocations: 135.7 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3019, allocations: 91.72 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.302, allocations: 11.98 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.3021, allocations: 35.92 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.3022, allocations: 51.81 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3022, allocations: 8 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.3024, allocations: 123.8 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.3025, allocations: 19.92 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3025, allocations: 43.78 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3027, allocations: 135.9 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3027, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.81e-07/0.3027, allocations: 4 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.3027, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 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.00072/0.3035, allocations: 482.5 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3035, allocations: 11.97 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3036, allocations: 12.84 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3037, allocations: 182.2 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3037, allocations: 4.312 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3038, allocations: 12.38 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.304, allocations: 85.95 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.304, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.304, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.304, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.3042, allocations: 51.95 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.3047, allocations: 332.6 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.305, allocations: 82.53 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3051, allocations: 40.84 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3051, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3053, allocations: 95.39 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3054, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.3059, allocations: 189.6 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3059, allocations: 55.41 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.306, allocations: 130.1 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3061, allocations: 29.7 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.3061, allocations: 92.14 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.3062, allocations: 19.73 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.3062, allocations: 29.72 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3064, allocations: 322.8 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.3065, allocations: 23.98 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3066, allocations: 77.92 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3068, allocations: 101.9 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3068, allocations: 4 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.307, allocations: 125.4 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.307, allocations: 4 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3071, allocations: 4.188 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3071, allocations: 7.938 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.3072, allocations: 15.98 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3072, allocations: 4 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.3073, allocations: 7.906 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3073, allocations: 4 kB / 1.07 GB, free: 9.184 MB / 0.8419 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.0001067/0.3074, allocations: 136.2 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.3074, allocations: 7.906 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3074, allocations: 16.72 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3075, allocations: 4.031 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3075, allocations: 0 / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3075, allocations: 0 / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.3081, allocations: 438.3 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3081, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.3081, allocations: 4 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3081, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3081, allocations: 11.98 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3082, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3082, allocations: 7.938 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3085, allocations: 239.4 kB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3086, allocations: 85 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3086, allocations: 4 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3087, allocations: 11.98 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3088, allocations: 7.938 kB / 1.071 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3088, allocations: 4 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.3089, allocations: 106.3 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3089, allocations: 4 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003041/0.3092, allocations: 40 kB / 1.071 GB, free: 7.984 MB / 0.8419 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.0003581/0.3096, allocations: 181.7 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3098, allocations: 87.89 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3099, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.31, allocations: 51.91 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3103, allocations: 20.3 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.3107, allocations: 245.9 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3111, allocations: 0.7 MB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3111, allocations: 11.44 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3111, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.003837/0.3149, allocations: 1.852 MB / 1.074 GB, free: 4.797 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches