Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.631/1.631, allocations: 291.7 MB / 306.8 MB, free: 7.652 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.001075/0.001075, allocations: 181.5 kB / 375.4 MB, free: 5.109 MB / 298.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.516/1.516, allocations: 225.7 MB / 0.6538 GB, free: 13.55 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.0009037/0.0009038, allocations: 103.5 kB / 0.7699 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9074, allocations: 118.1 MB / 1.011 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009927/0.9084, allocations: 435.2 kB / 1.011 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.9094, allocations: 0.8209 MB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.9095, allocations: 3 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.9095, allocations: 3.938 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.9096, allocations: 1.688 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.9097, allocations: 21.86 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.668e-05/0.9098, allocations: 35.31 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.9099, allocations: 12.08 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.91, allocations: 16.62 kB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.9101, allocations: 20.69 kB / 1.012 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.9101, allocations: 3.344 kB / 1.012 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.9101, allocations: 2.594 kB / 1.012 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.9101, allocations: 2.875 kB / 1.012 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.9101, allocations: 32.23 kB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.239e-05/0.9102, allocations: 28.72 kB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.9102, allocations: 1.688 kB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9102, allocations: 3.938 kB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9102, allocations: 0 / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005451/0.9108, allocations: 389 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9108, allocations: 10.5 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.9109, allocations: 11.19 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.911, allocations: 167.1 kB / 1.013 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.911, allocations: 4.984 kB / 1.013 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.911, allocations: 384 / 1.013 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.9112, allocations: 72.25 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9112, allocations: 192 / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.9112, allocations: 3.938 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9113, allocations: 0.625 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.9115, allocations: 58.77 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.9119, allocations: 308.4 kB / 1.013 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.9122, allocations: 57.86 kB / 1.013 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.9123, allocations: 32 kB / 1.013 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.9123, allocations: 9.016 kB / 1.013 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.9123, allocations: 31.31 kB / 1.013 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.9123, allocations: 0.5 kB / 1.013 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003706/0.9127, allocations: 110.1 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.9128, allocations: 51.94 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.9128, allocations: 114.2 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.9128, allocations: 30.56 kB / 1.014 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.9129, allocations: 91.92 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.9129, allocations: 11.69 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.9129, allocations: 0.8125 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.913, allocations: 322.4 kB / 1.014 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.9131, allocations: 31.72 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.9131, allocations: 28.41 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.9133, allocations: 56.41 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9133, allocations: 3.469 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001837/0.9135, allocations: 82.84 kB / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9135, allocations: 5.156 kB / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9135, allocations: 2.453 kB / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9135, allocations: 0 / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.9136, allocations: 12.16 kB / 1.014 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9136, allocations: 4.938 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.9137, allocations: 26.33 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9137, allocations: 7.438 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.727e-05/0.9138, allocations: 114.9 kB / 1.014 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.9138, allocations: 5.828 kB / 1.014 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.9141, allocations: 93.14 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9141, allocations: 3.531 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.9141, allocations: 1.125 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9141, allocations: 0 / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9142, allocations: 170.7 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9142, allocations: 0 / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.9143, allocations: 14.47 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9143, allocations: 3.031 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.9143, allocations: 3.938 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9143, allocations: 0 / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9143, allocations: 1.797 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.9146, allocations: 183.7 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.9146, allocations: 84.03 kB / 1.015 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.9146, allocations: 5.312 kB / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.9147, allocations: 23.33 kB / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.9148, allocations: 12.17 kB / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.9148, allocations: 1.844 kB / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.9148, allocations: 89.39 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9148, allocations: 0 / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001888/0.915, allocations: 5.438 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001083/0.9151, allocations: 106.3 kB / 1.015 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.9154, allocations: 67.17 kB / 1.015 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9154, allocations: 0 / 1.015 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.9155, allocations: 33.59 kB / 1.015 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.9158, allocations: 11.31 kB / 1.015 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.916, allocations: 132.1 kB / 1.015 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.9161, allocations: 0.6881 MB / 1.016 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.9162, allocations: 3.062 kB / 1.016 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.9162, allocations: 7.438 kB / 1.016 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9162, allocations: 6.812 kB / 1.016 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.002493/0.9187, allocations: 0.6257 MB / 1.017 GB, free: 54.26 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)