Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 255.9 MB / 271.2 MB, free: 8.926 MB / 218.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.001125/0.001125, allocations: 174.6 kB / 330.8 MB, free: 496 kB / 250.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.522/1.522, allocations: 225.7 MB / 0.6016 GB, free: 1.609 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 107.5 kB / 0.709 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 109.2 MB / 0.9327 GB, free: 6.289 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00152/0.2354, allocations: 1.053 MB / 0.9338 GB, free: 5.227 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.2363, allocations: 0.6559 MB / 0.9344 GB, free: 4.496 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.2364, allocations: 0 / 0.9344 GB, free: 4.496 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 8.294e-05/0.2365, allocations: 3.938 kB / 0.9344 GB, free: 4.492 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.2365, allocations: 0 / 0.9344 GB, free: 4.492 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.237, allocations: 75.8 kB / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.2371, allocations: 43.89 kB / 0.9345 GB, free: 4.375 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.2371, allocations: 4 kB / 0.9345 GB, free: 4.371 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.2372, allocations: 19.92 kB / 0.9345 GB, free: 4.352 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.2372, allocations: 15.92 kB / 0.9346 GB, free: 4.336 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2373, allocations: 8 kB / 0.9346 GB, free: 4.328 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.2374, allocations: 71.92 kB / 0.9346 GB, free: 4.258 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.2375, allocations: 23.92 kB / 0.9347 GB, free: 4.234 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.2376, allocations: 85.3 kB / 0.9347 GB, free: 4.145 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2378, allocations: 147.5 kB / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2378, allocations: 0 / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2378, allocations: 0 / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2379, allocations: 0 / 0.9349 GB, free: 4 MB / 0.573 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.0004322/0.2383, allocations: 0.5009 MB / 0.9354 GB, free: 3.441 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2383, allocations: 15.98 kB / 0.9354 GB, free: 3.426 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2385, allocations: 12.84 kB / 0.9354 GB, free: 3.414 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.2386, allocations: 176.2 kB / 0.9356 GB, free: 3.203 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2386, allocations: 4.375 kB / 0.9356 GB, free: 3.199 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2386, allocations: 4.375 kB / 0.9356 GB, free: 3.195 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2389, allocations: 241.9 kB / 0.9358 GB, free: 2.953 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.239, allocations: 192 / 0.9358 GB, free: 2.953 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.239, allocations: 3.938 kB / 0.9358 GB, free: 2.949 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.239, allocations: 0 / 0.9358 GB, free: 2.949 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2392, allocations: 163.9 kB / 0.936 GB, free: 2.789 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.2394, allocations: 189.4 kB / 0.9362 GB, free: 2.555 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.2398, allocations: 0.5337 MB / 0.9367 GB, free: 2.012 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.2402, allocations: 0.5204 MB / 0.9372 GB, free: 1.488 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2402, allocations: 0 / 0.9372 GB, free: 1.488 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2406, allocations: 400.9 kB / 0.9376 GB, free: 1.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=39): time 1.804e-06/0.2406, allocations: 7.938 kB / 0.9376 GB, free: 1.062 MB / 0.573 GB Notification: Performance of matching and sorting (n=39): time 0.0008352/0.2415, allocations: 0.6931 MB / 0.9382 GB, free: 368 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2415, allocations: 105.1 kB / 0.9383 GB, free: 244 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.2416, allocations: 101.8 kB / 0.9384 GB, free: 132 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2416, allocations: 25.7 kB / 0.9385 GB, free: 100 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.2417, allocations: 80.8 kB / 0.9385 GB, free: 16 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2418, allocations: 71.19 kB / 0.9386 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.2418, allocations: 0 / 0.9386 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.242, allocations: 326.8 kB / 0.9389 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2421, allocations: 88 kB / 0.939 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2422, allocations: 79.98 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.2427, allocations: 353.3 kB / 0.9394 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2427, allocations: 0 / 0.9394 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005435/0.2433, allocations: 336.1 kB / 0.9397 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2434, allocations: 85.5 kB / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2434, allocations: 0 / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2434, allocations: 0 / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.2435, allocations: 3.984 kB / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2435, allocations: 64 / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.2437, allocations: 31.78 kB / 0.9399 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2437, allocations: 4 kB / 0.9399 GB, free: 14.62 MB / 0.5886 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.0003483/0.2441, allocations: 266.2 kB / 0.9401 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2442, allocations: 27.75 kB / 0.9401 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.2442, allocations: 5.219 kB / 0.9401 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2442, allocations: 0 / 0.9401 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2442, allocations: 0 / 0.9401 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2442, allocations: 0 / 0.9401 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.2445, allocations: 249.3 kB / 0.9404 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2445, allocations: 7.984 kB / 0.9404 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.2445, allocations: 0 / 0.9404 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2445, allocations: 7.938 kB / 0.9404 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.2446, allocations: 19.94 kB / 0.9404 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2446, allocations: 0 / 0.9404 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2446, allocations: 0 / 0.9404 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2465, allocations: 1.271 MB / 0.9417 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.2466, allocations: 92.86 kB / 0.9417 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.2467, allocations: 79.92 kB / 0.9418 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2469, allocations: 11.98 kB / 0.9418 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2469, allocations: 11.98 kB / 0.9418 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.247, allocations: 15.98 kB / 0.9419 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.247, allocations: 79.28 kB / 0.9419 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/0.247, allocations: 3.938 kB / 0.9419 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004703/0.2475, allocations: 64 kB / 0.942 GB, free: 12.32 MB / 0.5886 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.0005996/0.2481, allocations: 277.2 kB / 0.9423 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.2505, allocations: 1.964 MB / 0.9442 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2505, allocations: 3.938 kB / 0.9442 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.2528, allocations: 2.011 MB / 0.9462 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2531, allocations: 23.98 kB / 0.9462 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.2539, allocations: 350.7 kB / 0.9465 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2543, allocations: 0.7169 MB / 0.9472 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.2543, allocations: 4 kB / 0.9472 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.2543, allocations: 7.438 kB / 0.9472 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/0.2543, allocations: 0 / 0.9472 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of Templates: time 0.00737/0.2617, allocations: 2.426 MB / 0.9496 GB, free: 4.48 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)