Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.001071/0.001071, allocations: 186 kB / 330.8 MB, free: 472 kB / 250.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.883/1.883, allocations: 225.7 MB / 0.6016 GB, free: 1.508 MB / 426.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.0009364/0.0009366, allocations: 105.4 kB / 0.709 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 11.98 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 109.2 MB / 0.9328 GB, free: 6.199 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001357/0.2368, allocations: 1.178 MB / 0.9339 GB, free: 5.008 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.2371, allocations: 195.5 kB / 0.9341 GB, free: 4.816 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.2372, allocations: 3.938 kB / 0.9341 GB, free: 4.812 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.2372, allocations: 7.922 kB / 0.9341 GB, free: 4.805 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.2373, allocations: 7.938 kB / 0.9341 GB, free: 4.797 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2374, allocations: 23.97 kB / 0.9342 GB, free: 4.773 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.2375, allocations: 55.84 kB / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2376, allocations: 19.98 kB / 0.9342 GB, free: 4.699 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.2377, allocations: 19.92 kB / 0.9342 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.2378, allocations: 23.84 kB / 0.9343 GB, free: 4.656 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2378, allocations: 4 kB / 0.9343 GB, free: 4.652 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2378, allocations: 0 / 0.9343 GB, free: 4.652 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.2378, allocations: 7.984 kB / 0.9343 GB, free: 4.645 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.2379, allocations: 53.56 kB / 0.9343 GB, free: 4.586 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.238, allocations: 43.78 kB / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.238, allocations: 0 / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.238, allocations: 3.938 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.238, allocations: 11.94 kB / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004644/0.2385, allocations: 375.6 kB / 0.9347 GB, free: 4.109 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2385, allocations: 11.98 kB / 0.9348 GB, free: 4.098 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2385, allocations: 8.844 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.2386, allocations: 176.3 kB / 0.9349 GB, free: 3.879 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2387, allocations: 4.375 kB / 0.9349 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.2387, allocations: 4.375 kB / 0.9349 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2389, allocations: 74.22 kB / 0.935 GB, free: 3.793 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2389, allocations: 192 / 0.935 GB, free: 3.793 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2389, allocations: 7.938 kB / 0.935 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2389, allocations: 4 kB / 0.935 GB, free: 3.781 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2391, allocations: 63.88 kB / 0.9351 GB, free: 3.719 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2395, allocations: 300.8 kB / 0.9354 GB, free: 3.375 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2399, allocations: 118.6 kB / 0.9355 GB, free: 3.25 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.24, allocations: 40.89 kB / 0.9355 GB, free: 3.207 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.24, allocations: 7.984 kB / 0.9355 GB, free: 3.199 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2402, allocations: 91.34 kB / 0.9356 GB, free: 3.098 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2402, allocations: 0 / 0.9356 GB, free: 3.098 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.2406, allocations: 137.6 kB / 0.9357 GB, free: 2.957 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2407, allocations: 55.34 kB / 0.9358 GB, free: 2.891 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.2407, allocations: 117.8 kB / 0.9359 GB, free: 2.766 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2407, allocations: 37.69 kB / 0.9359 GB, free: 2.723 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.2408, allocations: 91.98 kB / 0.936 GB, free: 2.629 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2408, allocations: 15.81 kB / 0.9361 GB, free: 2.613 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.2408, allocations: 0 / 0.9361 GB, free: 2.613 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2409, allocations: 330.8 kB / 0.9364 GB, free: 2.281 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.241, allocations: 27.98 kB / 0.9364 GB, free: 2.254 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.532e-05/0.2411, allocations: 59.72 kB / 0.9365 GB, free: 2.184 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2412, allocations: 99.33 kB / 0.9365 GB, free: 2.074 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2413, allocations: 4 kB / 0.9365 GB, free: 2.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002213/0.2415, allocations: 113.6 kB / 0.9367 GB, free: 1.953 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2415, allocations: 4 kB / 0.9367 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2415, allocations: 7.984 kB / 0.9367 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2415, allocations: 4.094 kB / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.2416, allocations: 15.94 kB / 0.9367 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2416, allocations: 3.984 kB / 0.9367 GB, free: 1.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.2417, allocations: 19.89 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2417, allocations: 8 kB / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * 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.447e-05/0.2418, allocations: 125.7 kB / 0.9368 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.2418, allocations: 4 kB / 0.9368 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.2418, allocations: 8.375 kB / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2418, allocations: 0 / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2419, allocations: 4 kB / 0.9369 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2419, allocations: 64 / 0.9369 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.2422, allocations: 390.2 kB / 0.9372 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2422, allocations: 0 / 0.9372 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.2423, allocations: 11.98 kB / 0.9372 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2423, allocations: 0 / 0.9372 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2423, allocations: 0 / 0.9372 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2423, allocations: 0 / 0.9372 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2423, allocations: 3.938 kB / 0.9372 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2426, allocations: 215.3 kB / 0.9374 GB, free: 1.066 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.2426, allocations: 81.11 kB / 0.9375 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2426, allocations: 4 kB / 0.9375 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2427, allocations: 23.92 kB / 0.9376 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2428, allocations: 11.92 kB / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2428, allocations: 0 / 0.9376 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.2428, allocations: 91.27 kB / 0.9376 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2428, allocations: 0 / 0.9376 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002007/0.243, allocations: 16.47 kB / 0.9377 GB, free: 0.8242 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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 9.406e-05/0.2431, allocations: 103.2 kB / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2434, allocations: 87.88 kB / 0.9378 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2434, allocations: 0 / 0.9378 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2435, allocations: 44.11 kB / 0.9379 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.2437, allocations: 23.83 kB / 0.9379 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2441, allocations: 170.5 kB / 0.9381 GB, free: 372 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2443, allocations: 0.6926 MB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2443, allocations: 7.781 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.2443, allocations: 11.44 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.2443, allocations: 0 / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of Templates: time 0.002603/0.247, allocations: 0.7555 MB / 0.9395 GB, free: 14.88 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)