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.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") 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.482/1.482, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.001214/0.001214, allocations: 191.2 kB / 330.8 MB, free: 484 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.766/1.766, allocations: 225.7 MB / 0.6016 GB, free: 1.602 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.001061/0.001061, allocations: 103.5 kB / 0.709 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 10.03 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001727/0.2238, allocations: 1.27 MB / 0.934 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.2244, allocations: 311.3 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.2245, allocations: 4 kB / 0.9343 GB, free: 4.676 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2246, allocations: 15.86 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.2246, allocations: 27.78 kB / 0.9343 GB, free: 4.633 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.2249, allocations: 55.94 kB / 0.9344 GB, free: 4.578 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2251, allocations: 183.3 kB / 0.9346 GB, free: 4.398 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2253, allocations: 53.39 kB / 0.9346 GB, free: 4.34 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.2254, allocations: 51.84 kB / 0.9347 GB, free: 4.289 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.2255, allocations: 67.62 kB / 0.9347 GB, free: 4.223 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.2255, allocations: 4 kB / 0.9347 GB, free: 4.219 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.2256, allocations: 12 kB / 0.9348 GB, free: 4.207 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.2256, allocations: 35.84 kB / 0.9348 GB, free: 4.172 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2257, allocations: 97.28 kB / 0.9349 GB, free: 4.07 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.2259, allocations: 155.7 kB / 0.935 GB, free: 3.918 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.226, allocations: 0 / 0.935 GB, free: 3.918 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.364e-06/0.226, allocations: 0 / 0.935 GB, free: 3.918 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.226, allocations: 0 / 0.935 GB, free: 3.918 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000843/0.2268, allocations: 498.8 kB / 0.9355 GB, free: 3.379 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2269, allocations: 11.98 kB / 0.9355 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.2269, allocations: 20.75 kB / 0.9355 GB, free: 3.348 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2272, allocations: 224 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2272, allocations: 12.36 kB / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2272, allocations: 16.38 kB / 0.9358 GB, free: 3.062 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2275, allocations: 158.9 kB / 0.9359 GB, free: 2.898 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2275, allocations: 4.172 kB / 0.9359 GB, free: 2.895 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2275, allocations: 11.88 kB / 0.9359 GB, free: 2.883 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2276, allocations: 4 kB / 0.9359 GB, free: 2.879 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2277, allocations: 95.94 kB / 0.936 GB, free: 2.785 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.2286, allocations: 0.6137 MB / 0.9366 GB, free: 2.117 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.2289, allocations: 211.6 kB / 0.9368 GB, free: 1.883 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.229, allocations: 52.84 kB / 0.9369 GB, free: 1.828 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2291, allocations: 288 / 0.9369 GB, free: 1.828 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.2293, allocations: 138.5 kB / 0.937 GB, free: 1.684 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.2293, allocations: 8 kB / 0.937 GB, free: 1.676 MB / 0.573 GB Notification: Performance of matching and sorting (n=20): time 0.0003813/0.2297, allocations: 217.3 kB / 0.9372 GB, free: 1.457 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.2297, allocations: 59.39 kB / 0.9373 GB, free: 1.387 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2299, allocations: 178.2 kB / 0.9375 GB, free: 1.203 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2299, allocations: 33.7 kB / 0.9375 GB, free: 1.164 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2299, allocations: 112.5 kB / 0.9376 GB, free: 1.051 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.23, allocations: 47.44 kB / 0.9376 GB, free: 1.004 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.23, allocations: 4 kB / 0.9377 GB, free: 1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.2301, allocations: 326.8 kB / 0.938 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.2301, allocations: 47.97 kB / 0.938 GB, free: 0.625 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.2302, allocations: 97.98 kB / 0.9381 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.2304, allocations: 137.2 kB / 0.9382 GB, free: 364 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2304, allocations: 3.938 kB / 0.9382 GB, free: 360 kB / 0.573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002074/0.2306, allocations: 185.3 kB / 0.9384 GB, free: 168 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2306, allocations: 7.906 kB / 0.9384 GB, free: 160 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2306, allocations: 12.12 kB / 0.9384 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2307, allocations: 0 / 0.9384 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.2307, allocations: 19.94 kB / 0.9385 GB, free: 128 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2308, allocations: 4 kB / 0.9385 GB, free: 124 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2309, allocations: 43.89 kB / 0.9385 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.231, allocations: 8 kB / 0.9385 GB, free: 72 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0002041/0.2312, allocations: 148.4 kB / 0.9386 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2312, allocations: 15.81 kB / 0.9387 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.2313, allocations: 29.11 kB / 0.9387 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2313, allocations: 0 / 0.9387 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2313, allocations: 0 / 0.9387 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2313, allocations: 0 / 0.9387 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.2319, allocations: 0.506 MB / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2319, allocations: 0 / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.232, allocations: 4 kB / 0.9392 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.232, allocations: 7.984 kB / 0.9392 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.232, allocations: 0 / 0.9392 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.232, allocations: 0 / 0.9392 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.232, allocations: 4.062 kB / 0.9392 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2324, allocations: 276.7 kB / 0.9395 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.2325, allocations: 96.86 kB / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2325, allocations: 4 kB / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.2327, allocations: 35.95 kB / 0.9396 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.2328, allocations: 27.97 kB / 0.9396 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2328, allocations: 11.92 kB / 0.9396 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.711e-05/0.2329, allocations: 125 kB / 0.9398 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2329, allocations: 0 / 0.9398 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002477/0.2332, allocations: 36 kB / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001698/0.2334, allocations: 116.4 kB / 0.9399 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.2337, allocations: 141.9 kB / 0.94 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2337, allocations: 4.062 kB / 0.94 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2338, allocations: 75.91 kB / 0.9401 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2342, allocations: 55.81 kB / 0.9402 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.2349, allocations: 390.3 kB / 0.9405 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2352, allocations: 0.7322 MB / 0.9412 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.2353, allocations: 29.53 kB / 0.9413 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.2354, allocations: 23.42 kB / 0.9413 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.2354, allocations: 0 / 0.9413 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of Templates: time 0.00463/0.24, allocations: 2.074 MB / 0.9433 GB, free: 10.99 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)