Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001463/0.001463, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001524/0.001524, allocations: 166.7 kB / 22.46 MB, free: 5.379 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.862/2.862, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.514e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001584/0.001609, allocations: 0.6212 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.002317, allocations: 322.8 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.002339, allocations: 0 / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.002354, allocations: 3.938 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.002388, allocations: 0 / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.002849, allocations: 126.3 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.002916, allocations: 39.78 kB / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.002949, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.003015, allocations: 19.97 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.003062, allocations: 4 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003077, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.003478, allocations: 259.6 kB / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.003497, allocations: 11.92 kB / 0.9828 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.003522, allocations: 15.98 kB / 0.9829 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.003761, allocations: 127.7 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003764, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003765, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.003769, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 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.0004777/0.004246, allocations: 294 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.004289, allocations: 8.031 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.004364, allocations: 8.891 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004481, allocations: 101.8 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.004495, allocations: 4.375 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.004529, allocations: 8.375 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004702, allocations: 105.6 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.004715, allocations: 4.125 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004725, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004732, allocations: 4.375 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.004788, allocations: 19.92 kB / 0.9835 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.00496, allocations: 117.3 kB / 0.9836 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.005086, allocations: 54.56 kB / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.005135, allocations: 28.84 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/0.005708, allocations: 79.91 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.005742, allocations: 34.5 kB / 0.9838 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.005743, allocations: 0 / 0.9838 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.00131/0.007053, allocations: 459.8 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.007094, allocations: 51.41 kB / 0.9843 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.00717, allocations: 97.86 kB / 0.9844 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.007191, allocations: 25.7 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.007238, allocations: 88.08 kB / 0.9845 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.007284, allocations: 43.64 kB / 0.9845 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.007333, allocations: 21.72 kB / 0.9846 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.007471, allocations: 318.8 kB / 0.9849 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.007516, allocations: 19.98 kB / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.007558, allocations: 28 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.007658, allocations: 56.84 kB / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.007659, allocations: 0 / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000169/0.007828, allocations: 96.94 kB / 0.9851 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.007844, allocations: 8 kB / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.007848, allocations: 0 / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.007865, allocations: 7.922 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.007971, allocations: 23.92 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.007977, allocations: 4 kB / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.008017, allocations: 4 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.008027, allocations: 4 kB / 0.9851 GB, free: 7.973 MB / 0.9356 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.659e-05/0.008114, allocations: 117.8 kB / 0.9852 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.008145, allocations: 7.953 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.008353, allocations: 109.8 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.008359, allocations: 3.938 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008363, allocations: 0 / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008366, allocations: 0 / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.008744, allocations: 298.1 kB / 0.9856 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008745, allocations: 4 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.008856, allocations: 16 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.008864, allocations: 11.92 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.008873, allocations: 4 kB / 0.9857 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.008876, allocations: 4 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008877, allocations: 0 / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.009159, allocations: 223.6 kB / 0.9859 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.009197, allocations: 11.97 kB / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.009216, allocations: 7.938 kB / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.0093, allocations: 0 / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.009321, allocations: 7.984 kB / 0.9859 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.009332, allocations: 8 kB / 0.9859 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.009375, allocations: 79.27 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.009375, allocations: 8.062 kB / 0.986 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002954/0.009671, allocations: 43.88 kB / 0.986 GB, free: 6.961 MB / 0.9356 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.0002659/0.009937, allocations: 147.1 kB / 0.9862 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.01007, allocations: 55.91 kB / 0.9862 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01007, allocations: 0 / 0.9862 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.01013, allocations: 31.98 kB / 0.9863 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01035, allocations: 10.34 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.0107, allocations: 164.7 kB / 0.9864 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.01077, allocations: 79.19 kB / 0.9865 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.01082, allocations: 7.938 kB / 0.9865 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.01085, allocations: 16.5 kB / 0.9865 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01085, allocations: 0 / 0.9865 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.004519/0.01537, allocations: 1.4 MB / 0.9879 GB, free: 5.027 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.967552945017815]