Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001364/0.001364, allocations: 183.6 kB / 329.5 MB, free: 1.164 MB / 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 2.589/2.589, allocations: 225.6 MB / 0.6001 GB, free: 2.191 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.001039/0.001039, allocations: 102.8 kB / 0.7074 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007448/0.0007451, allocations: 13.94 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2115, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003298/0.2148, allocations: 1.697 MB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2167, allocations: 0.6588 MB / 0.9331 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.2169, allocations: 7.938 kB / 0.9331 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.2171, allocations: 23.8 kB / 0.9331 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.2173, allocations: 27.72 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.2178, allocations: 111.9 kB / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.2185, allocations: 347.3 kB / 0.9336 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.219, allocations: 218.3 kB / 0.9338 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2192, allocations: 95.62 kB / 0.9339 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2194, allocations: 107.5 kB / 0.934 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.2195, allocations: 16 kB / 0.934 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2196, allocations: 20 kB / 0.934 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.2197, allocations: 55.75 kB / 0.9341 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.2198, allocations: 69.58 kB / 0.9341 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.2203, allocations: 307.5 kB / 0.9344 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2204, allocations: 0 / 0.9344 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2204, allocations: 4 kB / 0.9344 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2204, allocations: 3.938 kB / 0.9344 GB, free: 21.36 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001396/0.2218, allocations: 0.5445 MB / 0.9349 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2219, allocations: 8.031 kB / 0.935 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.222, allocations: 28.66 kB / 0.935 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.2225, allocations: 269.7 kB / 0.9352 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.2226, allocations: 25.03 kB / 0.9353 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2228, allocations: 36.36 kB / 0.9353 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.224, allocations: 337.2 kB / 0.9356 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2241, allocations: 0 / 0.9356 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.2242, allocations: 8 kB / 0.9356 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2242, allocations: 12 kB / 0.9356 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2255, allocations: 266 kB / 0.9359 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.2281, allocations: 0.959 MB / 0.9368 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.2298, allocations: 278.9 kB / 0.9371 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009256/0.2308, allocations: 132.7 kB / 0.9372 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.2309, allocations: 4 kB / 0.9372 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007608/0.2316, allocations: 184.2 kB / 0.9374 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 4.178e-06/0.2317, allocations: 0 / 0.9374 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32): time 0.002203/0.2339, allocations: 372.2 kB / 0.9378 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.234, allocations: 55.41 kB / 0.9378 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.2343, allocations: 203.3 kB / 0.938 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.2344, allocations: 41.69 kB / 0.938 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2346, allocations: 160.5 kB / 0.9382 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2347, allocations: 78.94 kB / 0.9383 GB, free: 17.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2348, allocations: 12 kB / 0.9383 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.2349, allocations: 334.8 kB / 0.9386 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.2355, allocations: 112.8 kB / 0.9387 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.2361, allocations: 177.2 kB / 0.9389 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.2367, allocations: 141.5 kB / 0.939 GB, free: 16.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2367, allocations: 0 / 0.939 GB, free: 16.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00144/0.2382, allocations: 378.7 kB / 0.9394 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.2383, allocations: 33.64 kB / 0.9394 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2383, allocations: 4 kB / 0.9394 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.2383, allocations: 8.156 kB / 0.9394 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.2388, allocations: 43.91 kB / 0.9395 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.2388, allocations: 4 kB / 0.9395 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.2395, allocations: 63.64 kB / 0.9395 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.2395, allocations: 12 kB / 0.9395 GB, free: 15.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.2399, allocations: 181.6 kB / 0.9397 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.24, allocations: 19.8 kB / 0.9397 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.2413, allocations: 307.2 kB / 0.94 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.2413, allocations: 4 kB / 0.94 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2413, allocations: 0 / 0.94 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.2413, allocations: 4 kB / 0.94 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.2436, allocations: 0.7647 MB / 0.9408 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.2436, allocations: 0 / 0.9408 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.244, allocations: 31.91 kB / 0.9408 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.244, allocations: 4 kB / 0.9408 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.244, allocations: 4 kB / 0.9408 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.244, allocations: 7.938 kB / 0.9408 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2441, allocations: 7.938 kB / 0.9408 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.2449, allocations: 379.3 kB / 0.9412 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.245, allocations: 96.86 kB / 0.9413 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.2451, allocations: 15.98 kB / 0.9413 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.2455, allocations: 35.91 kB / 0.9413 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2457, allocations: 47.88 kB / 0.9414 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2457, allocations: 4 kB / 0.9414 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001784/0.2459, allocations: 131.5 kB / 0.9415 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.52e-07/0.2459, allocations: 4 kB / 0.9415 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005326/0.2465, allocations: 71.84 kB / 0.9416 GB, free: 13.64 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: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002049/0.2467, allocations: 125.4 kB / 0.9417 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.2477, allocations: 340.2 kB / 0.942 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2478, allocations: 3.938 kB / 0.942 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.2482, allocations: 143.8 kB / 0.9422 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.2487, allocations: 39.98 kB / 0.9422 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2499, allocations: 0.521 MB / 0.9427 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2502, allocations: 0.7642 MB / 0.9435 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.2504, allocations: 38.27 kB / 0.9435 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.2506, allocations: 27.38 kB / 0.9435 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/0.2506, allocations: 0 / 0.9435 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.009214/0.2598, allocations: 2.732 MB / 0.9462 GB, free: 8.859 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)