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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.91 kB / 1.107 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33/1.332, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003007/1.335, allocations: 1.339 MB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/1.336, allocations: 366.5 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/1.336, allocations: 0 / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/1.336, allocations: 5.75 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/1.336, allocations: 1.984 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/1.337, allocations: 90.52 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000111/1.337, allocations: 55.66 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/1.337, allocations: 1.844 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/1.337, allocations: 20.3 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/1.337, allocations: 18.53 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/1.337, allocations: 4.375 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/1.337, allocations: 90.41 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/1.337, allocations: 38.38 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/1.337, allocations: 39.72 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/1.337, allocations: 163.8 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.337, allocations: 4 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.337, allocations: 0.9062 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.337, allocations: 0 / 1.274 GB, free: 6.535 MB / 0.9981 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.0005578/1.338, allocations: 0.5125 MB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.338, allocations: 9.5 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/1.338, allocations: 16.44 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.338, allocations: 180 kB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.338, allocations: 2.594 kB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.338, allocations: 3.469 kB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/1.339, allocations: 248.3 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.339, allocations: 192 / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.339, allocations: 5.875 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.339, allocations: 1.453 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/1.339, allocations: 146.3 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/1.339, allocations: 197.2 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/1.339, allocations: 161.8 kB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/1.339, allocations: 153.8 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.34, allocations: 7.938 kB / 1.276 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/1.34, allocations: 392.1 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 1.072e-06/1.34, allocations: 0 / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.000875/1.341, allocations: 0.6915 MB / 1.277 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/1.341, allocations: 104.8 kB / 1.277 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/1.341, allocations: 100.6 kB / 1.277 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/1.341, allocations: 27.55 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/1.341, allocations: 89.67 kB / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/1.341, allocations: 77.72 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/1.341, allocations: 36.05 kB / 1.277 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/1.341, allocations: 325 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/1.341, allocations: 84.19 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/1.341, allocations: 77.58 kB / 1.278 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/1.342, allocations: 356.1 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.342, allocations: 0.9688 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000338/1.342, allocations: 336.5 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/1.342, allocations: 85.7 kB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/1.342, allocations: 0.8125 kB / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.342, allocations: 0 / 1.278 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/1.342, allocations: 10.03 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.342, allocations: 3.938 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/1.342, allocations: 18.31 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.342, allocations: 6.625 kB / 1.278 GB, free: 3.711 MB / 0.9981 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.0002533/1.343, allocations: 271.7 kB / 1.279 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/1.343, allocations: 30.06 kB / 1.279 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/1.343, allocations: 8.062 kB / 1.279 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.343, allocations: 1.031 kB / 1.279 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.343, allocations: 0 / 1.279 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.343, allocations: 0 / 1.279 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/1.343, allocations: 251.6 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.343, allocations: 0 / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/1.343, allocations: 1.719 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.343, allocations: 3.938 kB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/1.343, allocations: 11.16 kB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.343, allocations: 1.031 kB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.343, allocations: 4.531 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.344, allocations: 1.281 MB / 1.28 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/1.344, allocations: 97.17 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/1.344, allocations: 79.61 kB / 1.28 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/1.344, allocations: 10.14 kB / 1.28 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/1.344, allocations: 10.14 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.344, allocations: 9.859 kB / 1.28 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.193e-05/1.344, allocations: 90.98 kB / 1.28 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.344, allocations: 0 / 1.28 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002986/1.345, allocations: 70.22 kB / 1.281 GB, free: 2.621 MB / 0.9981 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.0004228/1.345, allocations: 251.5 kB / 1.281 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009919/1.346, allocations: 1.101 MB / 1.282 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.346, allocations: 0 / 1.282 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008094/1.347, allocations: 0.9326 MB / 1.283 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/1.347, allocations: 17.83 kB / 1.283 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/1.347, allocations: 345.1 kB / 1.283 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.348, allocations: 0.7163 MB / 1.284 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.591e-05/1.348, allocations: 1.891 kB / 1.284 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/1.348, allocations: 11.5 kB / 1.284 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.348, allocations: 1.062 kB / 1.284 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of Templates: time 0.0066/1.354, allocations: 2.694 MB / 1.286 GB, free: 0.668 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.615055705420673]