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.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.436/2.436, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.00213/0.00213, allocations: 186.5 kB / 329.5 MB, free: 1.164 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.593/2.593, allocations: 225.6 MB / 0.6001 GB, free: 0.5078 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.001013/0.001012, allocations: 91.31 kB / 0.7074 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006525/0.0006526, allocations: 13.31 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2173, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001601/0.2189, allocations: 1.124 MB / 0.9319 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.2194, allocations: 183.5 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2194, allocations: 0 / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.2195, allocations: 3.938 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.2196, allocations: 3.938 kB / 0.9321 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2197, allocations: 11.98 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.2198, allocations: 39.92 kB / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2199, allocations: 11.98 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.22, allocations: 11.92 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.2201, allocations: 19.92 kB / 0.9322 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2201, allocations: 0 / 0.9322 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.2201, allocations: 4 kB / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2202, allocations: 11.92 kB / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2202, allocations: 25.7 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.2203, allocations: 35.92 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2203, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2203, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2203, allocations: 0 / 0.9322 GB, free: 23.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000572/0.2209, allocations: 373.7 kB / 0.9326 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2209, allocations: 12.03 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.221, allocations: 8.875 kB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2211, allocations: 168.3 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2211, allocations: 4.375 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2211, allocations: 384 / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.2215, allocations: 90.14 kB / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2216, allocations: 192 / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2216, allocations: 3.938 kB / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2216, allocations: 0 / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.2221, allocations: 91.91 kB / 0.9329 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.2225, allocations: 264.9 kB / 0.9332 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.2229, allocations: 74.42 kB / 0.9333 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.2231, allocations: 48.91 kB / 0.9333 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2232, allocations: 8 kB / 0.9333 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2232, allocations: 34.5 kB / 0.9334 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.736e-06/0.2232, allocations: 0 / 0.9334 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0009057/0.2241, allocations: 153.6 kB / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2242, allocations: 63.33 kB / 0.9336 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.2243, allocations: 109.9 kB / 0.9337 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2243, allocations: 29.69 kB / 0.9337 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.2244, allocations: 88.03 kB / 0.9338 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2244, allocations: 11.91 kB / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.2244, allocations: 0 / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.2245, allocations: 310.8 kB / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.2247, allocations: 47.95 kB / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.225, allocations: 39.97 kB / 0.9342 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2253, allocations: 43.95 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2253, allocations: 3.938 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006038/0.2259, allocations: 117.6 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2259, allocations: 8 kB / 0.9343 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.226, allocations: 4 kB / 0.9343 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.226, allocations: 0 / 0.9343 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.2262, allocations: 27.92 kB / 0.9344 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2262, allocations: 3.984 kB / 0.9344 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2264, allocations: 19.98 kB / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2264, allocations: 0 / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.821e-05/0.2265, allocations: 113.8 kB / 0.9345 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.2265, allocations: 7.906 kB / 0.9345 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.2266, allocations: 7.906 kB / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2266, allocations: 0 / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2266, allocations: 4 kB / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2266, allocations: 0 / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2268, allocations: 173.6 kB / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2268, allocations: 3.938 kB / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.227, allocations: 19.98 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.227, allocations: 4 kB / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.227, allocations: 0 / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.227, allocations: 0 / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.227, allocations: 0 / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.2276, allocations: 223.3 kB / 0.9349 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.2277, allocations: 89.27 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2277, allocations: 4 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2279, allocations: 19.98 kB / 0.935 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.228, allocations: 3.984 kB / 0.935 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.228, allocations: 0 / 0.935 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.228, allocations: 91.27 kB / 0.9351 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/0.228, allocations: 0 / 0.9351 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002711/0.2283, allocations: 4 kB / 0.9351 GB, free: 20.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001374/0.2285, allocations: 107.2 kB / 0.9352 GB, free: 20 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.2291, allocations: 95.92 kB / 0.9353 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2291, allocations: 0 / 0.9353 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.2294, allocations: 51.91 kB / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.2298, allocations: 11.92 kB / 0.9354 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.2302, allocations: 132.7 kB / 0.9355 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2303, allocations: 0.6809 MB / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.2304, allocations: 0 / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.2304, allocations: 11.44 kB / 0.9362 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.2304, allocations: 0 / 0.9362 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.003268/0.2337, allocations: 0.5661 MB / 0.9367 GB, free: 18.41 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)