Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.157/2.157, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001378/0.001378, allocations: 194.9 kB / 329.5 MB, free: 1.18 MB / 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 2.863/2.863, allocations: 225.6 MB / 0.6001 GB, free: 0.5781 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.0009914/0.0009909, allocations: 99.05 kB / 0.7074 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000752/0.0007525, allocations: 12.81 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2093, allocations: 109.1 MB / 0.9308 GB, free: 24.95 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00155/0.211, allocations: 1.134 MB / 0.9319 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.2115, allocations: 211.5 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.2116, allocations: 0 / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.2116, allocations: 7.922 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.2117, allocations: 19.86 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2119, allocations: 15.98 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.212, allocations: 75.7 kB / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2121, allocations: 12.19 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.2122, allocations: 31.84 kB / 0.9322 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.2123, allocations: 27.91 kB / 0.9323 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.2123, allocations: 4 kB / 0.9323 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.2123, allocations: 4 kB / 0.9323 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2123, allocations: 11.92 kB / 0.9323 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.2124, allocations: 41.64 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.74e-05/0.2125, allocations: 56.05 kB / 0.9324 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2125, allocations: 0 / 0.9324 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2125, allocations: 0 / 0.9324 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2125, allocations: 0 / 0.9324 GB, free: 23.28 MB / 0.5886 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.0006812/0.2132, allocations: 399.3 kB / 0.9328 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2133, allocations: 8.031 kB / 0.9328 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.2133, allocations: 8.844 kB / 0.9328 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2134, allocations: 180.2 kB / 0.933 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2135, allocations: 12.36 kB / 0.933 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2135, allocations: 8.375 kB / 0.933 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2137, allocations: 62.11 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2137, allocations: 3.938 kB / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2137, allocations: 8 kB / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2137, allocations: 0 / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2138, allocations: 27.98 kB / 0.9331 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.2143, allocations: 308.8 kB / 0.9334 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2144, allocations: 50.59 kB / 0.9334 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.2145, allocations: 20.86 kB / 0.9334 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2145, allocations: 0 / 0.9334 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.2148, allocations: 87.27 kB / 0.9335 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.2148, allocations: 0 / 0.9335 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003195/0.2151, allocations: 117.8 kB / 0.9336 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2152, allocations: 55.34 kB / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2153, allocations: 133.8 kB / 0.9338 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2153, allocations: 29.8 kB / 0.9338 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2154, allocations: 92.23 kB / 0.9339 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.2154, allocations: 27.64 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2154, allocations: 0 / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.2155, allocations: 322.8 kB / 0.9343 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.2156, allocations: 27.98 kB / 0.9343 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.2157, allocations: 47.42 kB / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/0.2157, allocations: 20 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2157, allocations: 0 / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.2159, allocations: 97.56 kB / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.216, allocations: 8 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.216, allocations: 0 / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.216, allocations: 4 kB / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.2161, allocations: 11.92 kB / 0.9345 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2161, allocations: 4 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.2163, allocations: 23.98 kB / 0.9345 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2164, allocations: 4 kB / 0.9345 GB, free: 20.89 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/0.2165, allocations: 131.1 kB / 0.9346 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2165, allocations: 7.906 kB / 0.9346 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.2166, allocations: 12.31 kB / 0.9346 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2166, allocations: 7.984 kB / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2166, allocations: 0 / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2166, allocations: 0 / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2168, allocations: 193.5 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2168, allocations: 4 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.2168, allocations: 3.938 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2168, allocations: 8 kB / 0.9348 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2168, allocations: 4 kB / 0.9349 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2169, allocations: 3.984 kB / 0.9349 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2169, allocations: 0 / 0.9349 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.2171, allocations: 120.9 kB / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.2171, allocations: 89 kB / 0.9351 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2172, allocations: 0 / 0.9351 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.2173, allocations: 27.98 kB / 0.9351 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.2174, allocations: 11.97 kB / 0.9351 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2175, allocations: 4 kB / 0.9351 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.2175, allocations: 103.6 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2175, allocations: 0 / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002528/0.2178, allocations: 16 kB / 0.9352 GB, free: 20.06 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2179, allocations: 111.2 kB / 0.9353 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2181, allocations: 71.8 kB / 0.9354 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2182, allocations: 0 / 0.9354 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.2183, allocations: 35.97 kB / 0.9354 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.2186, allocations: 19.98 kB / 0.9354 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.2191, allocations: 207 kB / 0.9356 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2193, allocations: 0.6926 MB / 0.9363 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.311e-05/0.2194, allocations: 8.547 kB / 0.9363 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.2194, allocations: 15.44 kB / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/0.2194, allocations: 0 / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of Templates: time 0.004328/0.2238, allocations: 1.045 MB / 0.9374 GB, free: 17.8 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)