Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.295/2.295, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001494/0.001493, allocations: 195.5 kB / 329.5 MB, free: 1.152 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.339/2.339, allocations: 225.6 MB / 0.6001 GB, free: 3.664 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.0009854/0.0009851, allocations: 98.25 kB / 0.7074 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 11.38 kB / 0.8242 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 109.1 MB / 0.9308 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001739/0.224, allocations: 1.214 MB / 0.9319 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005204/0.2245, allocations: 232.1 kB / 0.9322 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2246, allocations: 4 kB / 0.9322 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2246, allocations: 7.922 kB / 0.9322 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.2247, allocations: 7.922 kB / 0.9322 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2249, allocations: 19.97 kB / 0.9322 GB, free: 42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.225, allocations: 79.69 kB / 0.9323 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2251, allocations: 35.95 kB / 0.9323 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.2252, allocations: 23.92 kB / 0.9323 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.2253, allocations: 27.84 kB / 0.9324 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2253, allocations: 4 kB / 0.9324 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.2254, allocations: 0 / 0.9324 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.2254, allocations: 15.92 kB / 0.9324 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.2254, allocations: 37.64 kB / 0.9324 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.2255, allocations: 67.83 kB / 0.9325 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2256, allocations: 4 kB / 0.9325 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2256, allocations: 0 / 0.9325 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2256, allocations: 0 / 0.9325 GB, free: 41.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000661/0.2262, allocations: 400.8 kB / 0.9329 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2263, allocations: 12.03 kB / 0.9329 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.2264, allocations: 12.84 kB / 0.9329 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2265, allocations: 180.2 kB / 0.9331 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2265, allocations: 12.31 kB / 0.9331 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.2265, allocations: 4.375 kB / 0.9331 GB, free: 41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2268, allocations: 90.16 kB / 0.9332 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2269, allocations: 192 / 0.9332 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2269, allocations: 3.938 kB / 0.9332 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2269, allocations: 4 kB / 0.9332 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2273, allocations: 79.88 kB / 0.9333 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.2279, allocations: 344.6 kB / 0.9336 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2281, allocations: 62.55 kB / 0.9336 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2283, allocations: 40.97 kB / 0.9337 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2283, allocations: 0 / 0.9337 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.2286, allocations: 87.3 kB / 0.9338 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.2286, allocations: 0 / 0.9338 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006081/0.2293, allocations: 133.5 kB / 0.9339 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.2293, allocations: 51.41 kB / 0.9339 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.2294, allocations: 129.8 kB / 0.9341 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2295, allocations: 25.7 kB / 0.9341 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2295, allocations: 108 kB / 0.9342 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2295, allocations: 15.75 kB / 0.9342 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.2296, allocations: 4 kB / 0.9342 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.2296, allocations: 310.8 kB / 0.9345 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2298, allocations: 35.97 kB / 0.9345 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.23, allocations: 62.48 kB / 0.9346 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.2302, allocations: 27.98 kB / 0.9346 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2302, allocations: 0 / 0.9346 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000433/0.2306, allocations: 113.7 kB / 0.9347 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2307, allocations: 8 kB / 0.9347 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2307, allocations: 80 / 0.9347 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2307, allocations: 0 / 0.9347 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.2309, allocations: 19.92 kB / 0.9348 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2309, allocations: 3.984 kB / 0.9348 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2311, allocations: 35.94 kB / 0.9348 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2311, allocations: 4 kB / 0.9348 GB, free: 39.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,onSys.y,$PRE.onSys.pulseStart,onSys.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 9.419e-05/0.2312, allocations: 113.8 kB / 0.9349 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.2312, allocations: 7.906 kB / 0.9349 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.2313, allocations: 8.375 kB / 0.9349 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2313, allocations: 7.984 kB / 0.9349 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2313, allocations: 0 / 0.9349 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2313, allocations: 7.922 kB / 0.9349 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.2315, allocations: 189.6 kB / 0.9351 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.2315, allocations: 0 / 0.9351 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.2316, allocations: 11.98 kB / 0.9351 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2316, allocations: 4.188 kB / 0.9351 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2317, allocations: 7.938 kB / 0.9351 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2317, allocations: 4 kB / 0.9352 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2317, allocations: 4 kB / 0.9352 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.2321, allocations: 132.9 kB / 0.9353 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.2321, allocations: 81.05 kB / 0.9354 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2322, allocations: 8 kB / 0.9354 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2323, allocations: 19.97 kB / 0.9354 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.2324, allocations: 19.92 kB / 0.9354 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2324, allocations: 3.984 kB / 0.9354 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.2325, allocations: 87.28 kB / 0.9355 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2325, allocations: 0 / 0.9355 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002663/0.2328, allocations: 19.91 kB / 0.9355 GB, free: 38.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,conEquSta.onBoi,conEquSta.hys.y,onSys.y,onSys.pulseStart) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001201/0.2329, allocations: 112.8 kB / 0.9356 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.2333, allocations: 75.89 kB / 0.9357 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2334, allocations: 0 / 0.9357 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2336, allocations: 47.98 kB / 0.9357 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.2339, allocations: 11.98 kB / 0.9357 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.2343, allocations: 199.1 kB / 0.9359 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2345, allocations: 0.6965 MB / 0.9366 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.2346, allocations: 3.75 kB / 0.9366 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.2346, allocations: 11.44 kB / 0.9366 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2346, allocations: 0 / 0.9366 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.004848/0.2395, allocations: 0.8789 MB / 0.9375 GB, free: 36.19 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)