Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 217.9 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 65.33 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4327, allocations: 170 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003386/0.4361, allocations: 1.539 MB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4381, allocations: 0.9246 MB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.4382, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.4382, allocations: 3.938 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.4383, allocations: 27.72 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.4391, allocations: 175.4 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.4393, allocations: 87.77 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.4394, allocations: 11.98 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.4396, allocations: 47.84 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4397, allocations: 47.83 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.4397, allocations: 8 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.4401, allocations: 171.7 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.4401, allocations: 23.92 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.4402, allocations: 35.8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.4406, allocations: 191.4 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.4406, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4406, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.4406, allocations: 3.938 kB / 1.287 GB, free: 7.887 MB / 0.9825 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.0009011/0.4415, allocations: 401 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4415, allocations: 12.03 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.442, allocations: 40.81 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4423, allocations: 138.4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.4423, allocations: 4.375 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4423, allocations: 12.31 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.4426, allocations: 85.95 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4426, allocations: 7.922 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4426, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4426, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4428, allocations: 47.97 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.4434, allocations: 299.8 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.4437, allocations: 82.56 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.4438, allocations: 44.81 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4438, allocations: 4 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.444, allocations: 95.5 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.444, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005636/0.4446, allocations: 185.5 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4446, allocations: 51.41 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4448, allocations: 139.9 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4448, allocations: 29.7 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.4449, allocations: 100.1 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.4449, allocations: 19.8 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.445, allocations: 29.7 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4452, allocations: 326.8 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.4452, allocations: 23.98 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4454, allocations: 80.92 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4456, allocations: 101.9 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4456, allocations: 4 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.4458, allocations: 121.5 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4458, allocations: 8.188 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4458, allocations: 4 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4459, allocations: 4 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.4459, allocations: 15.92 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.446, allocations: 4 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.446, allocations: 15.94 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.446, allocations: 4 kB / 1.289 GB, free: 5.16 MB / 0.9825 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.0001711/0.4462, allocations: 127.8 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.4462, allocations: 15.95 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.4463, allocations: 4.719 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4463, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4463, allocations: 11.92 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4463, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.4469, allocations: 397.5 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4469, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.4469, allocations: 4 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4469, allocations: 4 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.447, allocations: 7.984 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.447, allocations: 0 / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.447, allocations: 3.938 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.4474, allocations: 247.4 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.4474, allocations: 7.953 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.4474, allocations: 8 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4475, allocations: 7.984 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.4476, allocations: 11.92 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4476, allocations: 4 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.974e-05/0.4477, allocations: 106.1 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4477, allocations: 0 / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003576/0.448, allocations: 51.86 kB / 1.29 GB, free: 4.086 MB / 0.9825 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.0004433/0.4485, allocations: 191 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.4488, allocations: 91.8 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4488, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4489, allocations: 40.36 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4492, allocations: 15.98 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.4498, allocations: 208.5 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.4503, allocations: 0.6961 MB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.4503, allocations: 7.984 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.4503, allocations: 15.44 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4503, allocations: 0 / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.006336/0.4567, allocations: 1.98 MB / 1.294 GB, free: 0.8164 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.595891562756151]