Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.001605/0.001605, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001887/0.001887, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.789 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.792/2.792, allocations: 476 MB / 0.7699 GB, free: 4.758 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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [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.002165/0.002165, allocations: 64.92 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3789, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003073/0.382, allocations: 1.352 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.383, allocations: 364.8 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.383, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3831, allocations: 3.984 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.3832, allocations: 11.86 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006624/0.3838, allocations: 95.7 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.384, allocations: 59.89 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.384, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.3841, allocations: 15.98 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.3841, allocations: 23.91 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3842, allocations: 4 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.3845, allocations: 115.8 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.3845, allocations: 23.91 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.3846, allocations: 39.75 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3849, allocations: 167.4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3849, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3849, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3849, allocations: 11.92 kB / 1.285 GB, free: 9.637 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000619/0.3855, allocations: 427.3 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3856, allocations: 12.03 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.3858, allocations: 24.83 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.386, allocations: 122.4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.386, allocations: 4.312 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.386, allocations: 4.375 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3864, allocations: 331.8 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3865, allocations: 192 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3865, allocations: 7.938 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3865, allocations: 4 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.3867, allocations: 241.4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.3869, allocations: 129.1 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3872, allocations: 256.1 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3875, allocations: 242.5 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3875, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.3881, allocations: 477.3 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.3881, allocations: 0 / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001218/0.3893, allocations: 0.8801 MB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.3895, allocations: 117 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3896, allocations: 101.9 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3896, allocations: 25.7 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3897, allocations: 84.8 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.3898, allocations: 75.38 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.3899, allocations: 37.7 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3901, allocations: 326.8 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3903, allocations: 173.6 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3905, allocations: 177.6 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.391, allocations: 405.3 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.391, allocations: 0 / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006223/0.3916, allocations: 465.8 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3917, allocations: 77.64 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.3917, allocations: 0 / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.3917, allocations: 3.938 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.3918, allocations: 4 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3918, allocations: 0 / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.392, allocations: 23.84 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.392, allocations: 8 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003315/0.3923, allocations: 250.1 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3924, allocations: 19.91 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.3924, allocations: 13.25 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3924, allocations: 4 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3924, allocations: 0 / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3924, allocations: 4 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3927, allocations: 153.2 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3927, allocations: 0 / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.3927, allocations: 0 / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3927, allocations: 0 / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3927, allocations: 19.98 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3927, allocations: 3.938 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3927, allocations: 0 / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3938, allocations: 0.8046 MB / 1.291 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.3938, allocations: 19.88 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.3939, allocations: 75.95 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.394, allocations: 11.94 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.394, allocations: 8.172 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3941, allocations: 12 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.3941, allocations: 87.25 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3941, allocations: 0 / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003419/0.3945, allocations: 71.94 kB / 1.292 GB, free: 2.543 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000594/0.3951, allocations: 254.6 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000902/0.396, allocations: 0.7172 MB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.396, allocations: 0 / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.3965, allocations: 432.9 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3967, allocations: 18.19 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.3975, allocations: 433 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3976, allocations: 109.5 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.3976, allocations: 0 / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.3976, allocations: 7.438 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3976, allocations: 0 / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of Templates: time 0.007713/0.4053, allocations: 2.832 MB / 1.296 GB, free: 13.73 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.399302046746016]