Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.813/1.813, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 175.5 kB / 393.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 93.44 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004989, allocations: 8 kB / 0.9224 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6725, allocations: 121.3 MB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001342/0.6738, allocations: 1.057 MB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.6746, allocations: 0.6495 MB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.6747, allocations: 0 / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.777e-05/0.6748, allocations: 5.703 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.713e-05/0.6748, allocations: 7.922 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.6752, allocations: 73.75 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.6753, allocations: 40.92 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.6753, allocations: 5.969 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.6754, allocations: 16.84 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.6754, allocations: 20.38 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.6754, allocations: 0 / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.6756, allocations: 76.14 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.6756, allocations: 29.7 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.6757, allocations: 73.36 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.6759, allocations: 151.5 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.676, allocations: 1.578 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.676, allocations: 0 / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.676, allocations: 3.375 kB / 1.043 GB, free: 56.68 MB / 0.698 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.0004354/0.6764, allocations: 0.4999 MB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6765, allocations: 7.469 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.6766, allocations: 22.16 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.6767, allocations: 175.8 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6767, allocations: 4.625 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.6767, allocations: 3.219 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.677, allocations: 248.7 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.677, allocations: 2.672 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.677, allocations: 5.719 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.677, allocations: 3.531 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.6771, allocations: 143.7 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.6773, allocations: 190.4 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.6776, allocations: 0.5394 MB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.678, allocations: 0.5219 MB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.678, allocations: 0 / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.6784, allocations: 399.1 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.022e-06/0.6784, allocations: 3.281 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0007381/0.6792, allocations: 0.68 MB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.6792, allocations: 108.6 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.6793, allocations: 101.1 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.6793, allocations: 26.48 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.6793, allocations: 88.64 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.6794, allocations: 79.17 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.6794, allocations: 4.688 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.6795, allocations: 324.4 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.6796, allocations: 84.5 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.6796, allocations: 81.16 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.6799, allocations: 346.8 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6799, allocations: 0.7188 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003304/0.6803, allocations: 332.9 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-05/0.6804, allocations: 91.23 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6804, allocations: 0 / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6804, allocations: 0 / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.6805, allocations: 5.266 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6805, allocations: 3.938 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.6806, allocations: 24.81 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6806, allocations: 7.281 kB / 1.048 GB, free: 53.29 MB / 0.698 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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.0002548/0.6809, allocations: 272.4 kB / 1.048 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.6809, allocations: 25.44 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/0.681, allocations: 6.031 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.681, allocations: 0 / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.681, allocations: 1.125 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.681, allocations: 1.344 kB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.6812, allocations: 246.9 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6812, allocations: 0 / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.6812, allocations: 3.156 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6812, allocations: 3.938 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.6812, allocations: 17.41 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6812, allocations: 0 / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6812, allocations: 0 / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6826, allocations: 1.272 MB / 1.05 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.6826, allocations: 94.11 kB / 1.05 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6827, allocations: 84.34 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.6828, allocations: 9.047 kB / 1.05 GB, free: 52.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.6829, allocations: 10.11 kB / 1.05 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6829, allocations: 16.88 kB / 1.05 GB, free: 52.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.683, allocations: 77.81 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.683, allocations: 0 / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003335/0.6833, allocations: 71.97 kB / 1.05 GB, free: 52.23 MB / 0.698 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.0004647/0.6838, allocations: 274.1 kB / 1.05 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.6853, allocations: 1.961 MB / 1.052 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6854, allocations: 0 / 1.052 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6866, allocations: 2.013 MB / 1.054 GB, free: 49.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.6868, allocations: 16.44 kB / 1.054 GB, free: 49.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.6873, allocations: 362.9 kB / 1.055 GB, free: 49.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.6875, allocations: 0.7201 MB / 1.055 GB, free: 48.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.6875, allocations: 0 / 1.055 GB, free: 48.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.6875, allocations: 7.438 kB / 1.055 GB, free: 48.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6875, allocations: 0 / 1.055 GB, free: 48.95 MB / 0.698 GB Notification: Performance of Templates: time 0.004853/0.6924, allocations: 2.43 MB / 1.058 GB, free: 48.71 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)