Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001373/0.001373, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00147/0.00147, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9014/0.9014, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.677/1.677, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.997e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001701/0.001721, allocations: 1.494 MB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.002267, allocations: 367.9 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.002296, allocations: 1.25 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002322, allocations: 0 / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.002369, allocations: 15.84 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.002732, allocations: 117.1 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.002799, allocations: 27.92 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.002883, allocations: 1.219 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.002929, allocations: 11.98 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.002963, allocations: 15.92 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.002978, allocations: 4.625 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.003235, allocations: 257 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.00325, allocations: 4 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.003269, allocations: 11.98 kB / 0.7894 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.003449, allocations: 127.5 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003452, allocations: 4.906 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.92e-07/0.003452, allocations: 0 / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.003457, allocations: 0 / 0.7895 GB, free: 10.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003445/0.003801, allocations: 388.8 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.003843, allocations: 12.84 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.003919, allocations: 0.9375 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.004, allocations: 117.5 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.004009, allocations: 384 / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.004018, allocations: 4.969 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.00413, allocations: 50.95 kB / 0.79 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004138, allocations: 4.906 kB / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004147, allocations: 384 / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.004154, allocations: 2.031 kB / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.004183, allocations: 15.86 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.004449, allocations: 243.8 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.22e-05/0.004501, allocations: 32.34 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.004523, allocations: 11.75 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.004825, allocations: 74.67 kB / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.004846, allocations: 37.39 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.004847, allocations: 3.094 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.005, allocations: 45.58 kB / 0.7905 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.005026, allocations: 55.39 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.00509, allocations: 165.9 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.005099, allocations: 25.7 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.005141, allocations: 138.8 kB / 0.7909 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.005157, allocations: 7.953 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.005181, allocations: 19.91 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005282, allocations: 492.1 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.005294, allocations: 0.8438 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.005305, allocations: 4.531 kB / 0.7914 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.005333, allocations: 28.83 kB / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005334, allocations: 0 / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.013e-05/0.005394, allocations: 34.23 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005407, allocations: 9.719 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.005413, allocations: 5.312 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005424, allocations: 0 / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.005479, allocations: 7.984 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005483, allocations: 1.156 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.0055, allocations: 11.94 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.005505, allocations: 0 / 0.7914 GB, free: 7.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 (2): * Single equations (assignments): 2 * 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 5.714e-05/0.005562, allocations: 157.6 kB / 0.7916 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.005583, allocations: 3.953 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.005659, allocations: 54.94 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005661, allocations: 0 / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005664, allocations: 4 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.005667, allocations: 0 / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.992e-05/0.005757, allocations: 116.6 kB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005758, allocations: 2.188 kB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.00578, allocations: 4 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.005783, allocations: 3.984 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005788, allocations: 0 / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.005791, allocations: 7.938 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005792, allocations: 0.5312 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.005883, allocations: 187.3 kB / 0.792 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.005888, allocations: 4 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.005896, allocations: 3.984 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.005925, allocations: 7.938 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.005958, allocations: 3.984 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-06/0.00596, allocations: 3.938 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.005993, allocations: 131.2 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005993, allocations: 0 / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001424/0.006136, allocations: 12 kB / 0.7921 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: 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 (2): * Single equations (assignments): 2 * 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.000118/0.006254, allocations: 112.2 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.006328, allocations: 16.2 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006329, allocations: 0.5625 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.006345, allocations: 17.06 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.0065, allocations: 8.188 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.00672, allocations: 122.8 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.006751, allocations: 61.03 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.006765, allocations: 0 / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.006783, allocations: 8.5 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.006784, allocations: 0 / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of Templates: time 0.0022/0.008984, allocations: 0.8319 MB / 0.7933 GB, free: 5.91 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.702398038934916]