Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 91.67 kB / 20.95 MB, free: 3.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004271/0.004271, allocations: 165.5 kB / 24.38 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 177.1 MB / 204.8 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.889/1.889, allocations: 389.6 MB / 0.6356 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.881e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00122/0.001239, allocations: 0.6789 MB / 0.7763 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000515/0.001754, allocations: 316.6 kB / 0.7766 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.001777, allocations: 0 / 0.7766 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.001793, allocations: 3.938 kB / 0.7766 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.492e-05/0.001818, allocations: 0.875 kB / 0.7766 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.002169, allocations: 96.11 kB / 0.7767 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.002216, allocations: 8.875 kB / 0.7767 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.002252, allocations: 3.984 kB / 0.7767 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.002287, allocations: 9.078 kB / 0.7767 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.00234, allocations: 0 / 0.7767 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.002355, allocations: 4 kB / 0.7767 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.002653, allocations: 279.8 kB / 0.777 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.002665, allocations: 3.984 kB / 0.777 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.002679, allocations: 4.984 kB / 0.777 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.002838, allocations: 124.5 kB / 0.7771 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.002841, allocations: 0 / 0.7771 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002841, allocations: 0 / 0.7771 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.002845, allocations: 0 / 0.7771 GB, free: 3.637 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002457/0.003091, allocations: 245.1 kB / 0.7773 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.003125, allocations: 12.75 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.003183, allocations: 4.844 kB / 0.7773 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.00326, allocations: 110.1 kB / 0.7775 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.003269, allocations: 1.469 kB / 0.7775 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.003286, allocations: 4.328 kB / 0.7775 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.079e-05/0.003357, allocations: 59.95 kB / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003363, allocations: 192 / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.003369, allocations: 384 / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003374, allocations: 384 / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.33e-05/0.003387, allocations: 11.88 kB / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.085e-05/0.003468, allocations: 61.03 kB / 0.7776 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.003503, allocations: 25.45 kB / 0.7776 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.003516, allocations: 12.92 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.003791, allocations: 69.77 kB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.003813, allocations: 35.72 kB / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003814, allocations: 0 / 0.7777 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004108/0.004224, allocations: 174.8 kB / 0.7779 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.00426, allocations: 55.41 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.004314, allocations: 99.64 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004325, allocations: 26.25 kB / 0.7781 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.004349, allocations: 88.62 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.00437, allocations: 8.781 kB / 0.7782 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.004397, allocations: 17.72 kB / 0.7782 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.004507, allocations: 320.5 kB / 0.7785 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.004515, allocations: 4.875 kB / 0.7785 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.004534, allocations: 21.7 kB / 0.7785 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.004563, allocations: 18.41 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.004564, allocations: 0 / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.457e-05/0.004629, allocations: 47.41 kB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.00464, allocations: 4 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004644, allocations: 0 / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.004653, allocations: 4 kB / 0.7786 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.00469, allocations: 9.484 kB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.004694, allocations: 3.938 kB / 0.7786 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.004705, allocations: 4.562 kB / 0.7786 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.004712, allocations: 5.375 kB / 0.7786 GB, free: 1.926 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.004762, allocations: 113.8 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.004775, allocations: 4 kB / 0.7787 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.004856, allocations: 51 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.004858, allocations: 1.062 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.00486, allocations: 0 / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.004864, allocations: 3.984 kB / 0.7788 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.387e-05/0.004918, allocations: 66.41 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004919, allocations: 1.406 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.004947, allocations: 8 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.004948, allocations: 0.7656 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-06/0.004952, allocations: 0 / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.004955, allocations: 9.172 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004956, allocations: 0 / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.462e-05/0.00504, allocations: 73.05 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.005045, allocations: 4.531 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005053, allocations: 0.5938 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.005067, allocations: 0.7656 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.005081, allocations: 9.047 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.005084, allocations: 0 / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.989e-06/0.005094, allocations: 5.359 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005094, allocations: 0 / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001113/0.005206, allocations: 24.47 kB / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.005339, allocations: 114.2 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.57e-05/0.005394, allocations: 25.62 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.005397, allocations: 0 / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.005407, allocations: 14.56 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.604e-05/0.005483, allocations: 7.25 kB / 0.7791 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.005684, allocations: 100.8 kB / 0.7792 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.005714, allocations: 55.36 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.005737, allocations: 3 kB / 0.7793 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.005782, allocations: 63.3 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.005783, allocations: 0 / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.002431/0.008214, allocations: 1.037 MB / 0.7803 GB, free: 104 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.034832206554711]