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.001947/0.001947, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002514/0.002514, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.735/2.735, allocations: 359 MB / 0.6048 GB, free: 10.97 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.523e-06/1.523e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.934e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001658/0.001688, allocations: 0.6195 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.002429, allocations: 318.8 kB / 0.7874 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.002453, allocations: 0.875 kB / 0.7874 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.002468, allocations: 3.938 kB / 0.7874 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.002503, allocations: 0 / 0.7874 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.002978, allocations: 124.9 kB / 0.7875 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.358e-05/0.003042, allocations: 24.72 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.003073, allocations: 0 / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.003136, allocations: 20.48 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.003194, allocations: 16.81 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.003209, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.00364, allocations: 255.7 kB / 0.7878 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.003656, allocations: 4.938 kB / 0.7878 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.003693, allocations: 19.91 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.003936, allocations: 126.6 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003938, allocations: 4 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003939, allocations: 0 / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.003943, allocations: 0 / 0.7879 GB, free: 11.26 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.0004832/0.004426, allocations: 282.1 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.004472, allocations: 12.03 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.004566, allocations: 8.891 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.004683, allocations: 105.8 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.004698, allocations: 5.562 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.004728, allocations: 8.375 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.004892, allocations: 101.6 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.004903, allocations: 0.7812 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.004916, allocations: 4.375 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.004919, allocations: 1.438 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.00498, allocations: 23.92 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.005154, allocations: 109.9 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.005286, allocations: 62.44 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.005342, allocations: 34.38 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/0.005941, allocations: 79.59 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.005982, allocations: 34.56 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.005983, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001395/0.007378, allocations: 448.5 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.007425, allocations: 55.34 kB / 0.7892 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.007515, allocations: 98.39 kB / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.00754, allocations: 25.7 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.007596, allocations: 89.73 kB / 0.7894 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.007645, allocations: 39.64 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.0077, allocations: 25.72 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.007877, allocations: 318.8 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.007927, allocations: 24.61 kB / 0.7898 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.00797, allocations: 24 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.008094, allocations: 59.16 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.008095, allocations: 0.6875 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001993/0.008294, allocations: 97.64 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.008308, allocations: 4.5 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.008315, allocations: 5.328 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.008335, allocations: 3.938 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.008451, allocations: 25.48 kB / 0.79 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.008456, allocations: 0 / 0.79 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.008486, allocations: 8 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.008493, allocations: 0 / 0.7901 GB, free: 8.863 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.0001002/0.008593, allocations: 115.7 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.008632, allocations: 11.98 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.008854, allocations: 117.6 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.008861, allocations: 3.938 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.008867, allocations: 5.156 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008869, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.009307, allocations: 290.2 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009308, allocations: 0.625 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.009426, allocations: 19.94 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.009436, allocations: 12.64 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009445, allocations: 0 / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.009449, allocations: 8.781 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00945, allocations: 0 / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.009792, allocations: 217.7 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.009826, allocations: 12.02 kB / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.009843, allocations: 3.938 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.009933, allocations: 4 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.009957, allocations: 7.984 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.009967, allocations: 4.781 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.01002, allocations: 83.27 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01002, allocations: 6.312 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003115/0.01033, allocations: 43.88 kB / 0.791 GB, free: 7.859 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.0002841/0.01062, allocations: 151 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01077, allocations: 61.45 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01078, allocations: 0 / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.01084, allocations: 37.83 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.01107, allocations: 8 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.01148, allocations: 179.5 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.01157, allocations: 71.83 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.317e-05/0.01162, allocations: 13.75 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.01166, allocations: 12.5 kB / 0.7915 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01166, allocations: 0.6562 kB / 0.7915 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.00491/0.01657, allocations: 1.416 MB / 0.7929 GB, free: 5.914 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=400 -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/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.70910300698597]