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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") 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.899/1.899, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.002494/0.002494, allocations: 188.2 kB / 382.3 MB, free: 14.82 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.659/1.659, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0008508/0.000851, allocations: 95.39 kB / 0.7789 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004924, allocations: 12.59 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8353, allocations: 119.2 MB / 1.022 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001216/0.8365, allocations: 479 kB / 1.023 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.8382, allocations: 1.288 MB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.8383, allocations: 6.75 kB / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.8384, allocations: 0 / 1.024 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.8384, allocations: 14.09 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.8389, allocations: 121.4 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.8391, allocations: 96.45 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.8392, allocations: 19.48 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.8393, allocations: 37.14 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.8394, allocations: 39.45 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.8394, allocations: 5.375 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.8395, allocations: 18.92 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.8395, allocations: 10.58 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.8396, allocations: 70.77 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.8398, allocations: 102.6 kB / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8398, allocations: 0 / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8398, allocations: 0 / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8399, allocations: 1.188 kB / 1.025 GB, free: 56.93 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.0005126/0.8404, allocations: 402.2 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8404, allocations: 9.625 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.8405, allocations: 7.234 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.8406, allocations: 177.3 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.8406, allocations: 8.438 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.8406, allocations: 13.7 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.8409, allocations: 67.95 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8409, allocations: 192 / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.8409, allocations: 5.609 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.8409, allocations: 2.031 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.8411, allocations: 57.34 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.8416, allocations: 328.7 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.8418, allocations: 70.05 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8419, allocations: 42.02 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.842, allocations: 1.281 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.8422, allocations: 97.77 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.8422, allocations: 0 / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004981/0.8427, allocations: 156.6 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.8428, allocations: 60.25 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.8429, allocations: 116.3 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.8429, allocations: 35.39 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.8429, allocations: 92.97 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.843, allocations: 15.78 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.843, allocations: 7.562 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.843, allocations: 319.6 kB / 1.027 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.8432, allocations: 58.53 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.8434, allocations: 87.17 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.8437, allocations: 158.5 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8437, allocations: 0 / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004006/0.8441, allocations: 228.1 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.8441, allocations: 37.8 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8441, allocations: 2.625 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8441, allocations: 0 / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.8442, allocations: 22.62 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8443, allocations: 2.625 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.8445, allocations: 52.14 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.8445, allocations: 11.72 kB / 1.027 GB, free: 54.82 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.849e-05/0.8446, allocations: 131.9 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.8446, allocations: 6.203 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.8446, allocations: 8.375 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8446, allocations: 1.641 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8447, allocations: 2.656 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8447, allocations: 0 / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.845, allocations: 397.2 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8451, allocations: 0 / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.8451, allocations: 13.66 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8451, allocations: 0 / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8451, allocations: 5.094 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8451, allocations: 0.9688 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8451, allocations: 0 / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.8454, allocations: 220.5 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.8455, allocations: 83.8 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.8455, allocations: 9.219 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.8456, allocations: 9.203 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.8456, allocations: 8.016 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.8457, allocations: 6.438 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.8457, allocations: 87.83 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8457, allocations: 0 / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000237/0.8459, allocations: 31.91 kB / 1.028 GB, free: 53.99 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: 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 (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.0001555/0.8461, allocations: 111 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.8465, allocations: 184.4 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8465, allocations: 4.062 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.8466, allocations: 44.91 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.8469, allocations: 17.05 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.8472, allocations: 189.3 kB / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.8474, allocations: 0.6881 MB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.8474, allocations: 3.094 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.8474, allocations: 14.17 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8474, allocations: 0 / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of Templates: time 0.003798/0.8512, allocations: 1.317 MB / 1.031 GB, free: 52.82 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)