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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002471/0.002471, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 476.7 MB / 0.7634 GB, free: 15.21 MB / 0.6075 GB [Timeout remaining time 87] 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=535,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=535,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.108 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9345, allocations: 168.7 MB / 1.272 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002276/0.9368, allocations: 1.335 MB / 1.274 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.9376, allocations: 361.5 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.9376, allocations: 0.75 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.9377, allocations: 5.422 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.9377, allocations: 1.938 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.9382, allocations: 90.41 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.9383, allocations: 51.2 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.9383, allocations: 2.75 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.9384, allocations: 22.75 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.9384, allocations: 16.38 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.9384, allocations: 3.625 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.9386, allocations: 89.55 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.9387, allocations: 40.56 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.9387, allocations: 45.47 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.939, allocations: 155.7 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.939, allocations: 4.938 kB / 1.275 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.939, allocations: 4 kB / 1.275 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.939, allocations: 0 / 1.275 GB, free: 6.59 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.0004555/0.9394, allocations: 0.5107 MB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9395, allocations: 10.12 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.9396, allocations: 17.73 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.9397, allocations: 173.7 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.9397, allocations: 6.438 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.9397, allocations: 3.844 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.94, allocations: 245.2 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.94, allocations: 4.188 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.94, allocations: 6.031 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.94, allocations: 0 / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.9402, allocations: 143.6 kB / 1.276 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.9404, allocations: 200.5 kB / 1.276 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.9405, allocations: 159.7 kB / 1.276 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.9407, allocations: 150 kB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.9407, allocations: 9.219 kB / 1.276 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.9411, allocations: 404.1 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 1.192e-06/0.9411, allocations: 0 / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.0008431/0.942, allocations: 0.6909 MB / 1.277 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.942, allocations: 106.1 kB / 1.277 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.9421, allocations: 104.1 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.9421, allocations: 26.58 kB / 1.277 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.9421, allocations: 89.58 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.9422, allocations: 77.56 kB / 1.278 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.9422, allocations: 33.22 kB / 1.278 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.9423, allocations: 327.4 kB / 1.278 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.9424, allocations: 84.22 kB / 1.278 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.9425, allocations: 79.58 kB / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.9428, allocations: 356.9 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9428, allocations: 1.125 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003988/0.9432, allocations: 331 kB / 1.279 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.9432, allocations: 88.95 kB / 1.279 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9432, allocations: 0 / 1.279 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9433, allocations: 0.9688 kB / 1.279 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.9433, allocations: 10.48 kB / 1.279 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9433, allocations: 0 / 1.279 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.9434, allocations: 17.7 kB / 1.279 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.9434, allocations: 12.3 kB / 1.279 GB, free: 3.758 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.0002767/0.9437, allocations: 261.9 kB / 1.279 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.9438, allocations: 25.97 kB / 1.279 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.272e-05/0.9438, allocations: 11.55 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9438, allocations: 0 / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9438, allocations: 0 / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9438, allocations: 0.5625 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.9439, allocations: 254.2 kB / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9439, allocations: 0 / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.9439, allocations: 1.156 kB / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9439, allocations: 3.938 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.944, allocations: 15.31 kB / 1.279 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.944, allocations: 0.8906 kB / 1.279 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.944, allocations: 0 / 1.279 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.9452, allocations: 1.284 MB / 1.281 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.9453, allocations: 97.86 kB / 1.281 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.9454, allocations: 81.61 kB / 1.281 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.9454, allocations: 11.25 kB / 1.281 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.9455, allocations: 4.719 kB / 1.281 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.9455, allocations: 15.58 kB / 1.281 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.9455, allocations: 80.89 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9455, allocations: 4.031 kB / 1.281 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003009/0.9458, allocations: 71.19 kB / 1.281 GB, free: 2.672 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.0004166/0.9462, allocations: 256.5 kB / 1.281 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009147/0.9471, allocations: 1.103 MB / 1.282 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9472, allocations: 0 / 1.282 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.948, allocations: 0.9274 MB / 1.283 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.9483, allocations: 27.83 kB / 1.283 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.9489, allocations: 366.8 kB / 1.284 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.949, allocations: 0.7237 MB / 1.284 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.949, allocations: 7.438 kB / 1.284 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.949, allocations: 0 / 1.284 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of Templates: time 0.004962/0.954, allocations: 2.421 MB / 1.287 GB, free: 0.7227 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/jenkins1/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