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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.725/1.725, allocations: 291.7 MB / 306.8 MB, free: 7.734 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.001462/0.001461, allocations: 192.1 kB / 375.4 MB, free: 5.117 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.755/1.755, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0008032/0.0008033, allocations: 104.2 kB / 0.7699 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0007531/0.0007537, allocations: 12.75 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8037, allocations: 118.1 MB / 1.011 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001026/0.8047, allocations: 471.3 kB / 1.011 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.8063, allocations: 1.119 MB / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.8063, allocations: 0.7188 kB / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.8064, allocations: 0 / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.8065, allocations: 12.5 kB / 1.012 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.807, allocations: 117.7 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.8071, allocations: 93.97 kB / 1.013 GB, free: 57.85 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.8072, allocations: 21.67 kB / 1.013 GB, free: 57.85 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8074, allocations: 42.02 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.8075, allocations: 36.77 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.8075, allocations: 7.375 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.8076, allocations: 13.27 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.8076, allocations: 19.67 kB / 1.013 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.8077, allocations: 33.98 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.8078, allocations: 73.69 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8078, allocations: 5.188 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8078, allocations: 0 / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8078, allocations: 0 / 1.013 GB, free: 57.8 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.0005405/0.8084, allocations: 399.6 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8084, allocations: 10.75 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.8085, allocations: 6.562 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.8086, allocations: 174.4 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8086, allocations: 7.281 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.8087, allocations: 15.56 kB / 1.014 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.8089, allocations: 77.77 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8089, allocations: 2.75 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8089, allocations: 4.641 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8089, allocations: 0 / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.8091, allocations: 52.42 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.8096, allocations: 334 kB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.8098, allocations: 62.2 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8099, allocations: 44.88 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8099, allocations: 0.5312 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.8101, allocations: 97.72 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.8101, allocations: 1.062 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004186/0.8106, allocations: 159.3 kB / 1.014 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.8106, allocations: 52.27 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.8107, allocations: 124.7 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8107, allocations: 29.58 kB / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.8108, allocations: 90.08 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.8108, allocations: 21.45 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.8108, allocations: 4.781 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.8109, allocations: 323.2 kB / 1.015 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.811, allocations: 54.73 kB / 1.015 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.8112, allocations: 92.78 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.8115, allocations: 160.2 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8115, allocations: 1.219 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003945/0.8119, allocations: 222.1 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.812, allocations: 34.42 kB / 1.015 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.812, allocations: 0 / 1.015 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.812, allocations: 2.875 kB / 1.015 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.8121, allocations: 22.42 kB / 1.015 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.8121, allocations: 4.438 kB / 1.015 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.8123, allocations: 51.8 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.8124, allocations: 10.56 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.812e-05/0.8125, allocations: 130 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.8125, allocations: 3.25 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.8125, allocations: 10.56 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8125, allocations: 0 / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8125, allocations: 0.75 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8126, allocations: 1.25 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.813, allocations: 391.2 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.813, allocations: 0.6094 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.8131, allocations: 11.94 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8131, allocations: 0 / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.8131, allocations: 4.812 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8131, allocations: 3.234 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8131, allocations: 4.781 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.8134, allocations: 215 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.8134, allocations: 90.02 kB / 1.016 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.8135, allocations: 6.844 kB / 1.016 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.8135, allocations: 13 kB / 1.016 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.8136, allocations: 6.891 kB / 1.016 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.8136, allocations: 6.5 kB / 1.016 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.8137, allocations: 91.03 kB / 1.016 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8137, allocations: 0 / 1.016 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002445/0.8139, allocations: 32.47 kB / 1.017 GB, free: 55.18 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001584/0.8141, allocations: 108 kB / 1.017 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.8145, allocations: 193.5 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8145, allocations: 0 / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.8146, allocations: 43.77 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.8149, allocations: 18.08 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.8153, allocations: 179.4 kB / 1.017 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.8155, allocations: 0.6912 MB / 1.018 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.8155, allocations: 6.688 kB / 1.018 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.8155, allocations: 14.52 kB / 1.018 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8155, allocations: 0 / 1.018 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.003535/0.8191, allocations: 1.284 MB / 1.019 GB, free: 54.11 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)