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.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001316/0.001316, allocations: 196.9 kB / 329.5 MB, free: 1.176 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.48/2.48, allocations: 225.6 MB / 0.6001 GB, free: 480 kB / 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.0009602/0.0009601, allocations: 116.3 kB / 0.7074 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004908, allocations: 16.28 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007589/0.2245, allocations: 342.1 kB / 0.9311 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.2252, allocations: 315.2 kB / 0.9314 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.2253, allocations: 4 kB / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.2253, allocations: 0 / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.2254, allocations: 0 / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.2261, allocations: 79.78 kB / 0.9315 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.2262, allocations: 23.98 kB / 0.9315 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.2262, allocations: 3.984 kB / 0.9315 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.2263, allocations: 11.92 kB / 0.9315 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.2264, allocations: 19.86 kB / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2264, allocations: 4 kB / 0.9316 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.2269, allocations: 267.6 kB / 0.9318 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2269, allocations: 8 kB / 0.9318 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.227, allocations: 29.7 kB / 0.9318 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2271, allocations: 63.88 kB / 0.9319 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2271, allocations: 0 / 0.9319 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2272, allocations: 0 / 0.9319 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2272, allocations: 0 / 0.9319 GB, free: 23.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003951/0.2276, allocations: 355.8 kB / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2276, allocations: 8.031 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.2277, allocations: 8.844 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.2278, allocations: 168.3 kB / 0.9324 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2278, allocations: 8.375 kB / 0.9324 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2279, allocations: 8.359 kB / 0.9324 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.228, allocations: 46.25 kB / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.228, allocations: 192 / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2281, allocations: 7.938 kB / 0.9325 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2281, allocations: 0 / 0.9325 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.2281, allocations: 19.98 kB / 0.9325 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.2283, allocations: 161.7 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2285, allocations: 62.48 kB / 0.9327 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.2285, allocations: 24.86 kB / 0.9327 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008729/0.2294, allocations: 469.5 kB / 0.9332 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2295, allocations: 30.56 kB / 0.9332 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2295, allocations: 0 / 0.9332 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001537/0.231, allocations: 0.5952 MB / 0.9338 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2311, allocations: 55.41 kB / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.2312, allocations: 97.84 kB / 0.9339 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2312, allocations: 29.7 kB / 0.934 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.2312, allocations: 88.08 kB / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2313, allocations: 39.44 kB / 0.9341 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.2313, allocations: 0 / 0.9341 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.2313, allocations: 322.8 kB / 0.9344 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.2314, allocations: 20 kB / 0.9344 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.2315, allocations: 31.86 kB / 0.9345 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/0.2316, allocations: 20 kB / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2316, allocations: 0 / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002188/0.2318, allocations: 101.9 kB / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2318, allocations: 8 kB / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2319, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2319, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2321, allocations: 16 kB / 0.9346 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2321, allocations: 7.984 kB / 0.9346 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.2322, allocations: 7.938 kB / 0.9346 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2322, allocations: 4 kB / 0.9346 GB, free: 20.58 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 (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 8.859e-05/0.2323, allocations: 113.8 kB / 0.9347 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.2324, allocations: 11.84 kB / 0.9347 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.2327, allocations: 101.7 kB / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2327, allocations: 7.984 kB / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2328, allocations: 0 / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2328, allocations: 0 / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2332, allocations: 358.4 kB / 0.9352 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2332, allocations: 0 / 0.9352 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.2334, allocations: 20 kB / 0.9352 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2335, allocations: 0 / 0.9352 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2335, allocations: 3.984 kB / 0.9352 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2335, allocations: 4 kB / 0.9352 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2335, allocations: 3.938 kB / 0.9352 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.2338, allocations: 215.4 kB / 0.9354 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.2339, allocations: 97.09 kB / 0.9355 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.2339, allocations: 0 / 0.9355 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2341, allocations: 8 kB / 0.9355 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.2341, allocations: 7.984 kB / 0.9355 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2342, allocations: 0 / 0.9355 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.2342, allocations: 79.28 kB / 0.9356 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2342, allocations: 0 / 0.9356 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005155/0.2347, allocations: 43.98 kB / 0.9356 GB, free: 19.42 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0003037/0.2351, allocations: 151.2 kB / 0.9358 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.2353, allocations: 72.28 kB / 0.9359 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2353, allocations: 0 / 0.9359 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.2354, allocations: 31.94 kB / 0.9359 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2357, allocations: 14.78 kB / 0.9359 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.2362, allocations: 190.6 kB / 0.9361 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2363, allocations: 0.6887 MB / 0.9368 GB, free: 18.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.2365, allocations: 16.23 kB / 0.9368 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.2365, allocations: 11.44 kB / 0.9368 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.014e-06/0.2365, allocations: 0 / 0.9368 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.004808/0.2414, allocations: 1.355 MB / 0.9381 GB, free: 16.84 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)