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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") 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.538/1.538, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.00118/0.001179, allocations: 188.9 kB / 330.8 MB, free: 444 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.757/1.757, allocations: 225.7 MB / 0.6016 GB, free: 1.605 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.001068/0.001068, allocations: 99.58 kB / 0.709 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 12.83 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 109.2 MB / 0.9328 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001815/0.2233, allocations: 1.138 MB / 0.9339 GB, free: 5.113 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004907/0.2238, allocations: 207.4 kB / 0.9341 GB, free: 4.91 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2239, allocations: 0 / 0.9341 GB, free: 4.91 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.2239, allocations: 3.938 kB / 0.9341 GB, free: 4.906 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.224, allocations: 23.91 kB / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2242, allocations: 19.92 kB / 0.9341 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2244, allocations: 75.78 kB / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2245, allocations: 24.14 kB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.2246, allocations: 35.73 kB / 0.9342 GB, free: 4.727 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.2247, allocations: 27.84 kB / 0.9343 GB, free: 4.699 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.2247, allocations: 4 kB / 0.9343 GB, free: 4.695 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.2247, allocations: 8 kB / 0.9343 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.2248, allocations: 7.984 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.2248, allocations: 57.52 kB / 0.9343 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.225, allocations: 71.95 kB / 0.9344 GB, free: 4.547 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.225, allocations: 0 / 0.9344 GB, free: 4.547 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.225, allocations: 0 / 0.9344 GB, free: 4.547 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.225, allocations: 0 / 0.9344 GB, free: 4.547 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.0006656/0.2257, allocations: 399.3 kB / 0.9348 GB, free: 4.109 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.2257, allocations: 11.98 kB / 0.9348 GB, free: 4.098 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.2258, allocations: 8.844 kB / 0.9348 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2259, allocations: 180.3 kB / 0.935 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2259, allocations: 4.312 kB / 0.935 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.226, allocations: 8.359 kB / 0.935 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2261, allocations: 62.23 kB / 0.9351 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2261, allocations: 7.938 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2262, allocations: 0 / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2262, allocations: 4 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.2263, allocations: 27.98 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.2267, allocations: 316.6 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.2269, allocations: 54.56 kB / 0.9355 GB, free: 3.336 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.2269, allocations: 20.86 kB / 0.9355 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.227, allocations: 4 kB / 0.9355 GB, free: 3.309 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.2272, allocations: 83.39 kB / 0.9356 GB, free: 3.215 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.2272, allocations: 0 / 0.9356 GB, free: 3.215 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0002654/0.2275, allocations: 117.5 kB / 0.9357 GB, free: 3.094 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2275, allocations: 59.41 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.2276, allocations: 137.6 kB / 0.9359 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2276, allocations: 33.64 kB / 0.9359 GB, free: 2.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.2277, allocations: 88.14 kB / 0.936 GB, free: 2.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2277, allocations: 11.81 kB / 0.936 GB, free: 2.738 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.2277, allocations: 8 kB / 0.936 GB, free: 2.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.2278, allocations: 318.8 kB / 0.9363 GB, free: 2.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.2278, allocations: 23.98 kB / 0.9363 GB, free: 2.387 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.2279, allocations: 55.42 kB / 0.9364 GB, free: 2.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.038e-05/0.228, allocations: 59.53 kB / 0.9364 GB, free: 2.25 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.228, allocations: 0 / 0.9364 GB, free: 2.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001309/0.2281, allocations: 101.5 kB / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2281, allocations: 12.09 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2281, allocations: 0 / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2282, allocations: 0 / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.2282, allocations: 11.94 kB / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2282, allocations: 0 / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2284, allocations: 31.88 kB / 0.9366 GB, free: 2.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.2284, allocations: 4 kB / 0.9366 GB, free: 2.086 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,and1.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 8.621e-05/0.2285, allocations: 131.3 kB / 0.9367 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.2285, allocations: 8.375 kB / 0.9367 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.2285, allocations: 12.38 kB / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2285, allocations: 0 / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2285, allocations: 0 / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2286, allocations: 3.984 kB / 0.9367 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2287, allocations: 197.4 kB / 0.9369 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2287, allocations: 0 / 0.9369 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.2287, allocations: 7.984 kB / 0.9369 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2287, allocations: 4 kB / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2287, allocations: 4 kB / 0.9369 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2287, allocations: 0 / 0.9369 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2288, allocations: 4 kB / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2289, allocations: 120.9 kB / 0.9371 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.2289, allocations: 81.02 kB / 0.9371 GB, free: 1.426 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.229, allocations: 8 kB / 0.9371 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2291, allocations: 23.97 kB / 0.9372 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.2292, allocations: 11.98 kB / 0.9372 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2292, allocations: 4 kB / 0.9372 GB, free: 1.379 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.2292, allocations: 99.2 kB / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2292, allocations: 0 / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002006/0.2294, allocations: 23.98 kB / 0.9373 GB, free: 1.258 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,and1.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.0001309/0.2296, allocations: 115.1 kB / 0.9374 GB, free: 1.137 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.2297, allocations: 67.8 kB / 0.9375 GB, free: 1.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2297, allocations: 4 kB / 0.9375 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.675e-05/0.2298, allocations: 31.98 kB / 0.9375 GB, free: 1.035 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.2301, allocations: 20.75 kB / 0.9375 GB, free: 1.016 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2305, allocations: 215.6 kB / 0.9377 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2307, allocations: 0.6859 MB / 0.9384 GB, free: 64 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.2307, allocations: 16.48 kB / 0.9384 GB, free: 44 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2307, allocations: 15.44 kB / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of SimCode: time 4.31e-07/0.2307, allocations: 0 / 0.9384 GB, free: 28 kB / 0.573 GB Notification: Performance of Templates: time 0.003934/0.2347, allocations: 1.082 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.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)