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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") 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.548/1.548, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.001012/0.001012, allocations: 186.5 kB / 330.8 MB, free: 476 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.768/1.768, allocations: 225.7 MB / 0.6016 GB, free: 1.625 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.0008638/0.0008639, allocations: 99.56 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00145/0.2246, allocations: 1.134 MB / 0.9339 GB, free: 5.105 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.225, allocations: 211.4 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.2251, allocations: 0 / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.2251, allocations: 3.938 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.2252, allocations: 23.84 kB / 0.9341 GB, free: 4.871 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2253, allocations: 15.98 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2255, allocations: 75.78 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2256, allocations: 24.16 kB / 0.9342 GB, free: 4.754 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.2257, allocations: 31.8 kB / 0.9343 GB, free: 4.723 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.2257, allocations: 31.83 kB / 0.9343 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2257, allocations: 0 / 0.9343 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.2258, allocations: 4 kB / 0.9343 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.2258, allocations: 8 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2259, allocations: 53.5 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.226, allocations: 75.95 kB / 0.9344 GB, free: 4.547 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.226, allocations: 4 kB / 0.9344 GB, free: 4.543 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.916e-06/0.226, allocations: 3.938 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.226, allocations: 4 kB / 0.9344 GB, free: 4.535 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005692/0.2266, allocations: 399.3 kB / 0.9348 GB, free: 4.098 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2266, allocations: 11.98 kB / 0.9348 GB, free: 4.086 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.2267, allocations: 8.844 kB / 0.9348 GB, free: 4.078 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2268, allocations: 172.3 kB / 0.935 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2268, allocations: 12.36 kB / 0.935 GB, free: 3.859 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.2269, allocations: 4.375 kB / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.227, allocations: 62.23 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.227, allocations: 3.938 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.227, allocations: 0 / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.227, allocations: 3.984 kB / 0.9351 GB, free: 3.781 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.2271, allocations: 39.92 kB / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.2275, allocations: 304.7 kB / 0.9354 GB, free: 3.395 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.2276, allocations: 50.56 kB / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.2277, allocations: 16.86 kB / 0.9355 GB, free: 3.316 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2277, allocations: 4 kB / 0.9355 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.2279, allocations: 91.55 kB / 0.9356 GB, free: 3.211 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2279, allocations: 0 / 0.9356 GB, free: 3.211 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0002416/0.2281, allocations: 109.5 kB / 0.9357 GB, free: 3.098 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2282, allocations: 59.39 kB / 0.9357 GB, free: 3.027 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.2283, allocations: 137.6 kB / 0.9359 GB, free: 2.883 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2283, allocations: 34.08 kB / 0.9359 GB, free: 2.844 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.2283, allocations: 92.08 kB / 0.936 GB, free: 2.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2283, allocations: 15.81 kB / 0.936 GB, free: 2.734 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.2284, allocations: 0 / 0.936 GB, free: 2.734 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.2284, allocations: 330.7 kB / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.2285, allocations: 23.98 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.2285, allocations: 51.36 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.2286, allocations: 67.38 kB / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2286, allocations: 0 / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001178/0.2287, allocations: 97.52 kB / 0.9365 GB, free: 2.137 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2288, allocations: 4 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2288, allocations: 4 kB / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2288, allocations: 0 / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.2288, allocations: 12.03 kB / 0.9366 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2289, allocations: 4 kB / 0.9366 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.229, allocations: 31.88 kB / 0.9366 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.229, allocations: 4 kB / 0.9366 GB, free: 2.078 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.195e-05/0.2291, allocations: 127.3 kB / 0.9367 GB, free: 1.945 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.2291, allocations: 11.84 kB / 0.9367 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.2291, allocations: 16.38 kB / 0.9367 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2291, allocations: 0 / 0.9367 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2291, allocations: 0 / 0.9367 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2291, allocations: 0 / 0.9367 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2293, allocations: 193.5 kB / 0.9369 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2293, allocations: 0 / 0.9369 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.2293, allocations: 7.984 kB / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2293, allocations: 0 / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2293, allocations: 8 kB / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2293, allocations: 0 / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2293, allocations: 0 / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.2295, allocations: 128.9 kB / 0.9371 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.2295, allocations: 85.02 kB / 0.9371 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2295, allocations: 0 / 0.9371 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2296, allocations: 27.97 kB / 0.9372 GB, free: 1.387 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.2297, allocations: 7.984 kB / 0.9372 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2297, allocations: 8 kB / 0.9372 GB, free: 1.371 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.2297, allocations: 103.2 kB / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2298, allocations: 0 / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001769/0.2299, allocations: 20 kB / 0.9373 GB, free: 1.25 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001074/0.23, allocations: 115.1 kB / 0.9374 GB, free: 1.129 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2302, allocations: 63.86 kB / 0.9375 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2302, allocations: 192 / 0.9375 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.2303, allocations: 35.98 kB / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.2305, allocations: 24.69 kB / 0.9375 GB, free: 1.008 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2308, allocations: 211 kB / 0.9377 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.231, allocations: 0.6887 MB / 0.9384 GB, free: 56 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.231, allocations: 8.547 kB / 0.9384 GB, free: 44 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.231, allocations: 15.44 kB / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of SimCode: time 3.31e-07/0.231, allocations: 0 / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of Templates: time 0.003319/0.2344, allocations: 1.09 MB / 0.9395 GB, free: 14.95 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)