Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") 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.817/1.817, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001026/0.001026, allocations: 178 kB / 382.3 MB, free: 14.85 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.696/1.696, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.001068/0.001068, allocations: 98.28 kB / 0.7789 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 12 kB / 0.9059 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6918, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001148/0.693, allocations: 435.9 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.6942, allocations: 0.8269 MB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.6942, allocations: 5.312 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.6943, allocations: 3.938 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.6943, allocations: 1.969 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.6945, allocations: 20.14 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.6946, allocations: 35 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.6947, allocations: 17.36 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.6948, allocations: 14.2 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.6949, allocations: 16.91 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.6949, allocations: 2.75 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.6949, allocations: 1.375 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.695, allocations: 13.62 kB / 1.024 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.695, allocations: 40.61 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.6951, allocations: 38.61 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6952, allocations: 0.9375 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6952, allocations: 0 / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6952, allocations: 1.594 kB / 1.024 GB, free: 57.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006924/0.6959, allocations: 386.4 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6959, allocations: 14.06 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.696, allocations: 11.75 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.6961, allocations: 165 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6961, allocations: 6.219 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.6962, allocations: 4.375 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.6964, allocations: 74.78 kB / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6964, allocations: 192 / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.6964, allocations: 4.438 kB / 1.024 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6965, allocations: 2.453 kB / 1.024 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.6967, allocations: 55.11 kB / 1.024 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.6972, allocations: 300.2 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.6975, allocations: 63.48 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6976, allocations: 31.7 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.6976, allocations: 1.406 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.6976, allocations: 31.53 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6976, allocations: 2.5 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003838/0.698, allocations: 104.5 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6981, allocations: 57.91 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.6981, allocations: 116.6 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.6982, allocations: 28.31 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.6982, allocations: 97.53 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.6982, allocations: 12.44 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.6982, allocations: 0 / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.6983, allocations: 318.1 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.6984, allocations: 30.81 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.6985, allocations: 25.55 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.6987, allocations: 54.77 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6987, allocations: 5.469 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002126/0.6989, allocations: 86.92 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6989, allocations: 10.05 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6989, allocations: 0 / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.699, allocations: 0.875 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.699, allocations: 15.75 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.699, allocations: 0 / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.6992, allocations: 23.58 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.6992, allocations: 5.109 kB / 1.026 GB, free: 55.3 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.6993, allocations: 121.9 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.6993, allocations: 6.625 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.6996, allocations: 93.55 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6996, allocations: 0 / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6996, allocations: 0 / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.6996, allocations: 0.6094 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.6997, allocations: 173.6 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6997, allocations: 1.875 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.6998, allocations: 11.94 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6998, allocations: 0 / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6998, allocations: 0.6562 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6998, allocations: 1.594 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6998, allocations: 0 / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.7001, allocations: 192 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.7001, allocations: 77.72 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7001, allocations: 0 / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7003, allocations: 24.08 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.7003, allocations: 10.83 kB / 1.026 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7004, allocations: 2.422 kB / 1.026 GB, free: 54.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.7004, allocations: 92.88 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7004, allocations: 0 / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001971/0.7006, allocations: 10.19 kB / 1.027 GB, free: 54.59 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: 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 (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.0001217/0.7007, allocations: 103.9 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.701, allocations: 61.48 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.701, allocations: 0 / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.7011, allocations: 33.66 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.7014, allocations: 13.23 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.7017, allocations: 141.6 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.7019, allocations: 0.6802 MB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.7019, allocations: 7.609 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.702, allocations: 10.61 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.702, allocations: 0 / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of Templates: time 0.002748/0.7047, allocations: 0.6477 MB / 1.028 GB, free: 53.58 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)