Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 297.4 MB / 312.6 MB, free: 2.965 MB / 234.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.000967/0.0009672, allocations: 186 kB / 382.3 MB, free: 14.87 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.417/1.417, allocations: 225.7 MB / 0.6617 GB, free: 7.258 MB / 490.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.0008265/0.0008265, allocations: 90.31 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 9.125 kB / 0.9059 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6102, allocations: 119.2 MB / 1.022 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00105/0.6113, allocations: 0.5767 MB / 1.023 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.6123, allocations: 0.8656 MB / 1.024 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.6123, allocations: 2.156 kB / 1.024 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.6124, allocations: 3.938 kB / 1.024 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.6125, allocations: 20.61 kB / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.6126, allocations: 28.14 kB / 1.024 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.6127, allocations: 103.8 kB / 1.024 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.6129, allocations: 41.88 kB / 1.024 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.613, allocations: 34.2 kB / 1.024 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.6131, allocations: 40.8 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.6131, allocations: 4.75 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/0.6131, allocations: 4.531 kB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.6132, allocations: 12.92 kB / 1.024 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.6132, allocations: 64.56 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.6134, allocations: 121.8 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6134, allocations: 0 / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6134, allocations: 0 / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6134, allocations: 0 / 1.024 GB, free: 57.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008408/0.6143, allocations: 463.3 kB / 1.025 GB, free: 56.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6143, allocations: 8.594 kB / 1.025 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.6143, allocations: 12.06 kB / 1.025 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6145, allocations: 187.6 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6145, allocations: 6.406 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.6145, allocations: 8.625 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.6148, allocations: 97.89 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6148, allocations: 5.875 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6148, allocations: 5.062 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.6148, allocations: 1.406 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.615, allocations: 73.94 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.6159, allocations: 415.6 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.6161, allocations: 68.92 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.6162, allocations: 39.14 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.6162, allocations: 2.297 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.6162, allocations: 30.56 kB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.6162, allocations: 1.312 kB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0004346/0.6167, allocations: 125.7 kB / 1.026 GB, free: 56.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.6167, allocations: 55.34 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.6169, allocations: 153.4 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6169, allocations: 31.05 kB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.617, allocations: 103.7 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.617, allocations: 11.69 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.617, allocations: 4 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.6171, allocations: 320.9 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.6172, allocations: 31.53 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6174, allocations: 36.62 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.6176, allocations: 63.28 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6176, allocations: 0 / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002465/0.6178, allocations: 105.5 kB / 1.027 GB, free: 55.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6179, allocations: 7.625 kB / 1.027 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6179, allocations: 9.062 kB / 1.027 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6179, allocations: 0 / 1.027 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.618, allocations: 11.94 kB / 1.027 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.618, allocations: 6.047 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.6183, allocations: 33.53 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.6183, allocations: 3.5 kB / 1.027 GB, free: 55.38 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.371e-05/0.6184, allocations: 121.2 kB / 1.027 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.6184, allocations: 8.219 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.6185, allocations: 11.05 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6185, allocations: 3.969 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.6185, allocations: 5.125 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6185, allocations: 5.391 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.6187, allocations: 204.4 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6187, allocations: 0 / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.6187, allocations: 11.3 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6188, allocations: 0.5625 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6188, allocations: 0.5625 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6188, allocations: 3.75 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6188, allocations: 10.31 kB / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.619, allocations: 195.1 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.619, allocations: 89.64 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.6191, allocations: 0 / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.6193, allocations: 35.36 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.6193, allocations: 16.59 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.6194, allocations: 3.297 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.6194, allocations: 117 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6194, allocations: 0 / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002203/0.6197, allocations: 16.47 kB / 1.027 GB, free: 54.66 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001067/0.6198, allocations: 107.1 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.62, allocations: 72.92 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.62, allocations: 1.156 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.6201, allocations: 37.02 kB / 1.028 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6204, allocations: 13.94 kB / 1.028 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.6209, allocations: 241.2 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.6211, allocations: 0.7017 MB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.6211, allocations: 7.156 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.6212, allocations: 14.94 kB / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.6212, allocations: 3.938 kB / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of Templates: time 0.003167/0.6243, allocations: 1.1 MB / 1.03 GB, free: 53.57 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)