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.001488/0.001488, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001541/0.001541, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.605/1.605, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.669/2.669, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 4.628e-06/4.628e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.646e-05/5.109e-05, allocations: 10.16 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003781/0.003832, allocations: 1.35 MB / 0.9523 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.004728, allocations: 371.4 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.004767, allocations: 0 / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.004862, allocations: 0 / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.071e-05/0.004893, allocations: 11.92 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.005384, allocations: 99.62 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.005497, allocations: 43.92 kB / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.00554, allocations: 7.938 kB / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.005601, allocations: 31.91 kB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.005657, allocations: 19.97 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.005672, allocations: 4 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.00593, allocations: 123.6 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.005985, allocations: 27.94 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.006048, allocations: 31.91 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.006328, allocations: 167.5 kB / 0.9532 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006331, allocations: 0 / 0.9532 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006332, allocations: 0 / 0.9532 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.006337, allocations: 0 / 0.9532 GB, free: 9.336 MB / 0.8575 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.00058/0.006917, allocations: 443.2 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.006954, allocations: 8.031 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.007188, allocations: 20.88 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.007325, allocations: 121.6 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.007347, allocations: 4.375 kB / 0.9537 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.007361, allocations: 8.312 kB / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.007778, allocations: 337.4 kB / 0.9541 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.007787, allocations: 192 / 0.9541 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.007798, allocations: 384 / 0.9541 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.007803, allocations: 384 / 0.9541 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.008072, allocations: 241.6 kB / 0.9543 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.008219, allocations: 121.2 kB / 0.9544 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.008515, allocations: 260.2 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.008782, allocations: 246.5 kB / 0.9549 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.008794, allocations: 3.984 kB / 0.9549 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.00935, allocations: 477.3 kB / 0.9553 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.009352, allocations: 4 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39): time 0.001079/0.01043, allocations: 0.8763 MB / 0.9562 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.01052, allocations: 105.1 kB / 0.9563 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01062, allocations: 109.7 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.01064, allocations: 25.7 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.01068, allocations: 84.83 kB / 0.9565 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.01077, allocations: 83.33 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.01082, allocations: 33.7 kB / 0.9566 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.01098, allocations: 326.8 kB / 0.9569 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.01118, allocations: 173.6 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01136, allocations: 173.6 kB / 0.9573 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.01178, allocations: 413.3 kB / 0.9577 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01178, allocations: 0 / 0.9577 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005267/0.01231, allocations: 453.9 kB / 0.9581 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/0.0124, allocations: 77.64 kB / 0.9582 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01241, allocations: 4.062 kB / 0.9582 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01242, allocations: 3.938 kB / 0.9582 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.827e-05/0.01246, allocations: 0 / 0.9582 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01247, allocations: 11.88 kB / 0.9582 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.01255, allocations: 19.84 kB / 0.9582 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01257, allocations: 4 kB / 0.9582 GB, free: 3.859 MB / 0.8575 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.0002739/0.01284, allocations: 258 kB / 0.9585 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.01288, allocations: 19.91 kB / 0.9585 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.024e-05/0.01289, allocations: 5.312 kB / 0.9585 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.0129, allocations: 0 / 0.9585 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.0129, allocations: 3.938 kB / 0.9585 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01291, allocations: 11.94 kB / 0.9585 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.01307, allocations: 153.2 kB / 0.9586 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01307, allocations: 7.938 kB / 0.9586 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.01307, allocations: 0 / 0.9586 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01307, allocations: 0 / 0.9586 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.0131, allocations: 15.98 kB / 0.9587 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.0131, allocations: 0 / 0.9587 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0131, allocations: 0 / 0.9587 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.01419, allocations: 0.8046 MB / 0.9594 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.01422, allocations: 19.83 kB / 0.9595 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.01434, allocations: 71.95 kB / 0.9595 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.01441, allocations: 12.03 kB / 0.9595 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.01446, allocations: 7.984 kB / 0.9596 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.01449, allocations: 16 kB / 0.9596 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.01456, allocations: 79.22 kB / 0.9596 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01456, allocations: 0 / 0.9596 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003224/0.01489, allocations: 67.98 kB / 0.9597 GB, free: 2.246 MB / 0.8575 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.0005196/0.01541, allocations: 255.2 kB / 0.96 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009039/0.01631, allocations: 0.7172 MB / 0.9607 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01631, allocations: 0 / 0.9607 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.01679, allocations: 428.9 kB / 0.9611 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01702, allocations: 24 kB / 0.9611 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.0177, allocations: 436.2 kB / 0.9615 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.01782, allocations: 101.5 kB / 0.9616 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.445e-05/0.01783, allocations: 4.125 kB / 0.9616 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.01785, allocations: 8.5 kB / 0.9616 GB, free: 220 kB / 0.8575 GB Notification: Performance of SimCode: time 3.8e-07/0.01785, allocations: 0 / 0.9616 GB, free: 220 kB / 0.8575 GB Notification: Performance of Templates: time 0.006536/0.02438, allocations: 2.763 MB / 0.9643 GB, free: 13.5 MB / 0.8731 GB " [Timeout remaining time 300] 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: 7.963895566761494]