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.002407/0.002407, allocations: 79.7 kB / 20.23 MB, free: 4.184 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.003045/0.003045, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.862/2.862, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.87e-05, allocations: 4.219 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001741/0.00177, allocations: 0.63 MB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002782, allocations: 320 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002809, allocations: 4.656 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.002826, allocations: 3.938 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.002865, allocations: 0.6562 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.003347, allocations: 121.3 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.003421, allocations: 23.91 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.003458, allocations: 4 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.003528, allocations: 18.86 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.003589, allocations: 11.91 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003606, allocations: 4 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.00405, allocations: 255.7 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.004065, allocations: 0 / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.004094, allocations: 15.97 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.004352, allocations: 131.6 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004355, allocations: 1.344 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004356, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004361, allocations: 0 / 0.7879 GB, free: 11.21 MB / 0.7448 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.0005671/0.004928, allocations: 388 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004968, allocations: 12.62 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.005058, allocations: 9.859 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.005183, allocations: 108.6 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.005201, allocations: 4.375 kB / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.005226, allocations: 9.062 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.005391, allocations: 103.2 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.005405, allocations: 4.188 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.005415, allocations: 384 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005419, allocations: 384 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.005484, allocations: 23.92 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.005715, allocations: 125.8 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.005867, allocations: 62.98 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.005918, allocations: 27.67 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.006493, allocations: 78.89 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.006537, allocations: 38.11 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006538, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001477/0.008015, allocations: 486.3 kB / 0.7893 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.008068, allocations: 59.34 kB / 0.7894 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.008204, allocations: 162.5 kB / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.008227, allocations: 25.7 kB / 0.7896 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.008307, allocations: 131.6 kB / 0.7897 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.008361, allocations: 40.33 kB / 0.7897 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.008425, allocations: 35.38 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002931/0.008718, allocations: 0.4892 MB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.008764, allocations: 16 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.008813, allocations: 23.98 kB / 0.7903 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.008928, allocations: 68.11 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.008929, allocations: 0 / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001983/0.009127, allocations: 105.6 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.009141, allocations: 5.812 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009145, allocations: 0 / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.009163, allocations: 3.938 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.009279, allocations: 27.98 kB / 0.7905 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009285, allocations: 0.5469 kB / 0.7905 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.009308, allocations: 1.156 kB / 0.7905 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.009319, allocations: 4 kB / 0.7905 GB, free: 8.316 MB / 0.7448 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 0.0001312/0.00945, allocations: 161.1 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.009487, allocations: 8 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.009725, allocations: 114.5 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.009733, allocations: 7.938 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.009737, allocations: 4.781 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00974, allocations: 0 / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.0102, allocations: 351.1 kB / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01021, allocations: 0 / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.01032, allocations: 16 kB / 0.7911 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.01033, allocations: 7.938 kB / 0.7911 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01035, allocations: 7.984 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01035, allocations: 0.8125 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01035, allocations: 0 / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.01071, allocations: 274.1 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.01074, allocations: 7.984 kB / 0.7914 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.01076, allocations: 11.88 kB / 0.7914 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.01083, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.01086, allocations: 7.984 kB / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01087, allocations: 12 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.01095, allocations: 121.2 kB / 0.7916 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01095, allocations: 0 / 0.7916 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002843/0.01123, allocations: 51.86 kB / 0.7916 GB, free: 7.109 MB / 0.7448 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.0002861/0.01152, allocations: 143.2 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.0117, allocations: 72.47 kB / 0.7918 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0117, allocations: 0.5312 kB / 0.7918 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.01177, allocations: 43.61 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01202, allocations: 9.844 kB / 0.7919 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.01248, allocations: 193.8 kB / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.709e-05/0.01257, allocations: 67.34 kB / 0.7921 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.01263, allocations: 18.02 kB / 0.7921 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.01266, allocations: 16.5 kB / 0.7922 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/0.01266, allocations: 3.469 kB / 0.7922 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.005269/0.01793, allocations: 1.414 MB / 0.7935 GB, free: 5.113 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.8833042670739815]