Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.002428/0.002428, allocations: 83.69 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.002823/0.002823, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.961/2.961, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.378e-06, allocations: 4.641 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.646e-05, allocations: 7.094 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001685/0.001722, allocations: 0.5909 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.002411, allocations: 301.1 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.002426, allocations: 0 / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.002438, allocations: 0 / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-06/0.002443, allocations: 0 / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.002899, allocations: 113.5 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.954e-05/0.002938, allocations: 0 / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.002972, allocations: 1.594 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.003001, allocations: 0 / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.546e-05/0.003026, allocations: 4 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.00304, allocations: 0 / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.003483, allocations: 263.6 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.003494, allocations: 3.438 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.003509, allocations: 3.984 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.003742, allocations: 111.7 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003744, allocations: 4 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003745, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.00375, allocations: 0 / 0.7878 GB, free: 11.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004115/0.004161, allocations: 360.1 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004199, allocations: 8.031 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.004274, allocations: 4.938 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.758e-05/0.004372, allocations: 105.3 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004383, allocations: 384 / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.004392, allocations: 5.969 kB / 0.7882 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.004476, allocations: 34.27 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004483, allocations: 192 / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.00449, allocations: 384 / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004494, allocations: 1.375 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.00452, allocations: 11.92 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.004666, allocations: 104.6 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.00473, allocations: 28.03 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.004753, allocations: 15.62 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.005087, allocations: 42.31 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.005129, allocations: 41.39 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.00513, allocations: 1 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.005289, allocations: 37.69 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.005332, allocations: 52.47 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.005415, allocations: 142.2 kB / 0.7887 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.005432, allocations: 27.23 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.005504, allocations: 126.9 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.005527, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.005567, allocations: 23.38 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.005814, allocations: 496.1 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.005829, allocations: 4.469 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.005837, allocations: 8.562 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.005865, allocations: 12.2 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005866, allocations: 0.7812 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.92e-05/0.005935, allocations: 34.61 kB / 0.7894 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005947, allocations: 4 kB / 0.7894 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005951, allocations: 0 / 0.7894 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.005966, allocations: 4.531 kB / 0.7894 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.006, allocations: 1.375 kB / 0.7894 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.006009, allocations: 4 kB / 0.7894 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.006019, allocations: 3.938 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.006024, allocations: 0 / 0.7895 GB, free: 9.488 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 (1): * Single equations (assignments): 1 * 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.0001081/0.006132, allocations: 169.8 kB / 0.7896 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.006154, allocations: 3.953 kB / 0.7896 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.006247, allocations: 41.31 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.00625, allocations: 4.734 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006254, allocations: 0 / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006256, allocations: 0.8125 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.00637, allocations: 116.6 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006371, allocations: 0.9375 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.006386, allocations: 4 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006387, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006392, allocations: 1.219 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006393, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006394, allocations: 0 / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.006503, allocations: 73.17 kB / 0.7898 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.006509, allocations: 3.984 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.006517, allocations: 6.219 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.006524, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.00654, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.006541, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.006602, allocations: 119.2 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006602, allocations: 0 / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001905/0.006792, allocations: 23.03 kB / 0.79 GB, free: 8.867 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004088/0.007201, allocations: 115.2 kB / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.007273, allocations: 11.69 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007275, allocations: 3.938 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.007296, allocations: 15.62 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.007426, allocations: 3 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.007639, allocations: 87.95 kB / 0.7902 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.007691, allocations: 55.34 kB / 0.7903 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.007709, allocations: 4.625 kB / 0.7903 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.007727, allocations: 9.062 kB / 0.7903 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.007727, allocations: 1.312 kB / 0.7903 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.003071/0.0108, allocations: 488.2 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.873201864073053]