Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, 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.001414/0.001414, allocations: 197.8 kB / 329.5 MB, free: 1.16 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.363/2.363, allocations: 225.6 MB / 0.6001 GB, free: 0.5195 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.0009831/0.0009831, allocations: 102.4 kB / 0.7074 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004866, allocations: 14.12 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2241, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007132/0.2248, allocations: 318 kB / 0.9311 GB, free: 24.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006382/0.2255, allocations: 299.3 kB / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.2255, allocations: 0 / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.769e-06/0.2255, allocations: 0 / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.2256, allocations: 0 / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.226, allocations: 63.86 kB / 0.9314 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.644e-05/0.226, allocations: 4 kB / 0.9314 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.2261, allocations: 3.984 kB / 0.9314 GB, free: 24.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.2261, allocations: 4 kB / 0.9314 GB, free: 24.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.2261, allocations: 4 kB / 0.9314 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2262, allocations: 0 / 0.9314 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.2267, allocations: 263.7 kB / 0.9317 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.2267, allocations: 0 / 0.9317 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.2267, allocations: 25.7 kB / 0.9317 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2269, allocations: 51.91 kB / 0.9318 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2269, allocations: 0 / 0.9318 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2269, allocations: 0 / 0.9318 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2269, allocations: 0 / 0.9318 GB, free: 23.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002475/0.2272, allocations: 339.5 kB / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2272, allocations: 12.03 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.2273, allocations: 4.938 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.341e-05/0.2273, allocations: 160.4 kB / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2274, allocations: 4.312 kB / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2274, allocations: 384 / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.2275, allocations: 30.25 kB / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2275, allocations: 4.188 kB / 0.9323 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2275, allocations: 3.938 kB / 0.9323 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2275, allocations: 0 / 0.9323 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/0.2276, allocations: 4 kB / 0.9323 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.2277, allocations: 145.7 kB / 0.9324 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.2277, allocations: 22.55 kB / 0.9325 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.2278, allocations: 4.859 kB / 0.9325 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.2283, allocations: 429.6 kB / 0.9329 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2284, allocations: 34.55 kB / 0.9329 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.595e-06/0.2284, allocations: 3.984 kB / 0.9329 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.2285, allocations: 37.64 kB / 0.933 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2286, allocations: 55.34 kB / 0.933 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.125e-05/0.2286, allocations: 89.86 kB / 0.9331 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.2286, allocations: 29.7 kB / 0.9331 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.48e-05/0.2287, allocations: 80.27 kB / 0.9332 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2287, allocations: 7.984 kB / 0.9332 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2287, allocations: 0 / 0.9332 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.2288, allocations: 314.8 kB / 0.9335 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.2288, allocations: 4 kB / 0.9335 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.2288, allocations: 0 / 0.9335 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.959e-05/0.2288, allocations: 3.984 kB / 0.9335 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2288, allocations: 0 / 0.9335 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.742e-05/0.2289, allocations: 33.7 kB / 0.9335 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.229, allocations: 8.094 kB / 0.9336 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.229, allocations: 3.938 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.229, allocations: 3.938 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.2291, allocations: 4 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2291, allocations: 0 / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.2291, allocations: 0 / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2291, allocations: 0 / 0.9336 GB, free: 21.73 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 (1): * Single equations (assignments): 1 * 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 5.413e-05/0.2292, allocations: 113.8 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.2292, allocations: 4 kB / 0.9337 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.2293, allocations: 44.7 kB / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2293, allocations: 0 / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2293, allocations: 0 / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2294, allocations: 4 kB / 0.9337 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.359e-05/0.2294, allocations: 153.7 kB / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2294, allocations: 0 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.2295, allocations: 0 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2295, allocations: 0 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2295, allocations: 3.938 kB / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2295, allocations: 32 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2295, allocations: 8 kB / 0.9339 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.2296, allocations: 57.06 kB / 0.9339 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2296, allocations: 77.11 kB / 0.934 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.2297, allocations: 3.938 kB / 0.934 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.2297, allocations: 4 kB / 0.934 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.2297, allocations: 4 kB / 0.934 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2297, allocations: 0 / 0.934 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.2297, allocations: 79.31 kB / 0.9341 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2298, allocations: 0 / 0.9341 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002345/0.23, allocations: 12 kB / 0.9341 GB, free: 21.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001855/0.2302, allocations: 115.8 kB / 0.9342 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.2303, allocations: 7.938 kB / 0.9342 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2303, allocations: 0 / 0.9342 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.2303, allocations: 7.938 kB / 0.9342 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.2305, allocations: 4.125 kB / 0.9342 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.2307, allocations: 86.59 kB / 0.9343 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2308, allocations: 0.6731 MB / 0.935 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.2309, allocations: 0 / 0.935 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.2309, allocations: 7.438 kB / 0.935 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of SimCode: time 7.52e-07/0.2309, allocations: 0 / 0.935 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of Templates: time 0.002707/0.2336, allocations: 439.8 kB / 0.9354 GB, free: 19.68 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)