Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.00132/0.00132, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001334/0.001334, allocations: 160.5 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.61/2.61, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.91 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 169.9 MB / 1.117 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001801/0.2821, allocations: 0.6227 MB / 1.118 GB, free: 1.848 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007036/0.2828, allocations: 314.9 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.2829, allocations: 4 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.2829, allocations: 3.938 kB / 1.118 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.35e-05/0.2829, allocations: 4 kB / 1.118 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.2834, allocations: 127.5 kB / 1.119 GB, free: 1.402 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.2835, allocations: 23.91 kB / 1.119 GB, free: 1.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.2835, allocations: 4 kB / 1.119 GB, free: 1.375 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.2835, allocations: 8 kB / 1.119 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.2836, allocations: 11.92 kB / 1.119 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2836, allocations: 8 kB / 1.119 GB, free: 1.348 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.284, allocations: 259.6 kB / 1.119 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.284, allocations: 7.922 kB / 1.119 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.2841, allocations: 8 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.2843, allocations: 103.6 kB / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2843, allocations: 0 / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2843, allocations: 0 / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2843, allocations: 4 kB / 1.119 GB, free: 0.9727 MB / 1.061 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.0004267/0.2847, allocations: 290 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2847, allocations: 12.03 kB / 1.119 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.2848, allocations: 4.938 kB / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2849, allocations: 118.4 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2849, allocations: 4.375 kB / 1.119 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2849, allocations: 4.375 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2851, allocations: 101.7 kB / 1.119 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2851, allocations: 192 / 1.119 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2851, allocations: 3.938 kB / 1.119 GB, free: 380 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2851, allocations: 4 kB / 1.119 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.2852, allocations: 15.98 kB / 1.119 GB, free: 360 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.2853, allocations: 109.3 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2854, allocations: 66.48 kB / 1.12 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.2855, allocations: 28.84 kB / 1.12 GB, free: 112 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.286, allocations: 75.92 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.2861, allocations: 30.56 kB / 1.12 GB, free: 16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2861, allocations: 4 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001246/0.2873, allocations: 459.7 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2874, allocations: 51.41 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.2874, allocations: 101.8 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2875, allocations: 25.7 kB / 1.12 GB, free: 15.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.2875, allocations: 84.14 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.2875, allocations: 39.69 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2876, allocations: 29.72 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2877, allocations: 318.8 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.2878, allocations: 20 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.2878, allocations: 19.98 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2879, allocations: 59.61 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2879, allocations: 0 / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001693/0.2881, allocations: 97.62 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2881, allocations: 7.938 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2881, allocations: 4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2881, allocations: 0 / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2882, allocations: 31.86 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2882, allocations: 7.984 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.2883, allocations: 4 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2883, allocations: 0 / 1.121 GB, free: 14.55 MB / 1.076 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.2883, allocations: 113.8 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2884, allocations: 15.89 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.2886, allocations: 113.7 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2886, allocations: 4 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2886, allocations: 0 / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2886, allocations: 0 / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.289, allocations: 298.1 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.289, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.2891, allocations: 27.92 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2891, allocations: 0 / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2891, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2891, allocations: 0 / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2891, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.2894, allocations: 219.7 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2894, allocations: 11.97 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2894, allocations: 4 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.2895, allocations: 4 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.2895, allocations: 12.05 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2895, allocations: 4 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.2896, allocations: 83.45 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2896, allocations: 3.938 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000343/0.2899, allocations: 47.92 kB / 1.122 GB, free: 13.53 MB / 1.076 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 (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.0002178/0.2901, allocations: 135.1 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.2903, allocations: 60.02 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2903, allocations: 0 / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.035e-05/0.2903, allocations: 27.94 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2906, allocations: 15.94 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.2909, allocations: 181.9 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.291, allocations: 67.34 kB / 1.122 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.291, allocations: 11.92 kB / 1.122 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.2911, allocations: 16.5 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.2911, allocations: 4 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of Templates: time 0.00433/0.2954, allocations: 1.394 MB / 1.124 GB, free: 11.59 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.007833897951059]