Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.682/1.682, allocations: 291.7 MB / 306.8 MB, free: 7.66 MB / 234.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.001389/0.001389, allocations: 185.5 kB / 375.4 MB, free: 5.094 MB / 298.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.657/1.657, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.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.0008838/0.0008838, allocations: 97.7 kB / 0.7699 GB, free: 50.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 12.78 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7297, allocations: 118.1 MB / 1.011 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00186/0.7316, allocations: 1.158 MB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.7323, allocations: 353.9 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.7323, allocations: 2.719 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.7323, allocations: 5.219 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.7324, allocations: 1.25 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.7328, allocations: 79.11 kB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.7328, allocations: 22.48 kB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.7329, allocations: 11.41 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.733, allocations: 12.17 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.733, allocations: 12.44 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.7331, allocations: 1.875 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.7334, allocations: 261.5 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.7334, allocations: 7.688 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.7335, allocations: 25.7 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.7336, allocations: 71.95 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7336, allocations: 0 / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7336, allocations: 3.656 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7337, allocations: 2.781 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000422/0.7341, allocations: 359 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.7341, allocations: 14 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.7342, allocations: 3.812 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7343, allocations: 173.6 kB / 1.013 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.7343, allocations: 4.312 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.7344, allocations: 3.562 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7345, allocations: 52.73 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.7346, allocations: 1.094 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.7346, allocations: 3.938 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7346, allocations: 2.625 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.7348, allocations: 44.19 kB / 1.013 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.7351, allocations: 254.5 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.7352, allocations: 48.84 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.7353, allocations: 34.06 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.7359, allocations: 459.3 kB / 1.014 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.7359, allocations: 30.56 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.7359, allocations: 0.625 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003755/0.7363, allocations: 106.1 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.7363, allocations: 57.44 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.7364, allocations: 106.3 kB / 1.015 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.7364, allocations: 26.36 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.7365, allocations: 84.08 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.7365, allocations: 10.16 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7365, allocations: 0 / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.7366, allocations: 319.3 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.7366, allocations: 17.69 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.7367, allocations: 23.8 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.7369, allocations: 55.39 kB / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7369, allocations: 0 / 1.015 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.7371, allocations: 80.86 kB / 1.015 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7371, allocations: 9.031 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7371, allocations: 0 / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7371, allocations: 1.875 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.7372, allocations: 13.61 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7373, allocations: 0 / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.7373, allocations: 6.469 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.7373, allocations: 0 / 1.015 GB, free: 55.41 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 6.198e-05/0.7374, allocations: 122.8 kB / 1.015 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.7374, allocations: 8.688 kB / 1.015 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.7376, allocations: 87.77 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7377, allocations: 3.594 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7377, allocations: 0 / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7377, allocations: 1.094 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.7378, allocations: 165.7 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7378, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.7379, allocations: 16.48 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7379, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7379, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7379, allocations: 1.531 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7379, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.7381, allocations: 176.7 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.7382, allocations: 86.92 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7382, allocations: 0.5625 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.7383, allocations: 12.14 kB / 1.016 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.7383, allocations: 6.312 kB / 1.016 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.7383, allocations: 0.5625 kB / 1.016 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.7383, allocations: 85.06 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7384, allocations: 3.031 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002343/0.7386, allocations: 10.88 kB / 1.016 GB, free: 54.75 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0001526/0.7387, allocations: 116.5 kB / 1.016 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.739, allocations: 57.11 kB / 1.016 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.739, allocations: 2 kB / 1.016 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.7391, allocations: 19 kB / 1.016 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.7393, allocations: 15.06 kB / 1.016 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.7396, allocations: 109.6 kB / 1.016 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7397, allocations: 0.678 MB / 1.017 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.7398, allocations: 7.953 kB / 1.017 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.7398, allocations: 7.438 kB / 1.017 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.7398, allocations: 0 / 1.017 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.002553/0.7424, allocations: 0.6295 MB / 1.018 GB, free: 53.81 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)