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.0009849/0.0009849, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001262/0.001262, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9916/0.9916, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.753/1.753, allocations: 359 MB / 0.6055 GB, free: 10.86 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.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 2.254e-06/2.254e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.323e-05, allocations: 6.875 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001943/0.001976, allocations: 0.5967 MB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006324/0.002608, allocations: 291.5 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.00263, allocations: 0 / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.002647, allocations: 0.7188 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.002652, allocations: 0 / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.003099, allocations: 113.6 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.003155, allocations: 0 / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.003211, allocations: 3.984 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.003248, allocations: 5.406 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.848e-05/0.003276, allocations: 0 / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.003293, allocations: 0 / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.003718, allocations: 255.6 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.003731, allocations: 1.062 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.003742, allocations: 0 / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.003936, allocations: 119.7 kB / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003939, allocations: 1.5 kB / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00394, allocations: 0 / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.003944, allocations: 0 / 0.789 GB, free: 10.77 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.0002916/0.004235, allocations: 360.1 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.004279, allocations: 9.625 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.004347, allocations: 4.938 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.529e-05/0.004413, allocations: 108.6 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004425, allocations: 4.359 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.004431, allocations: 2.094 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.806e-05/0.004499, allocations: 34.2 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004506, allocations: 192 / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.004512, allocations: 384 / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004518, allocations: 2.906 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.004532, allocations: 11.92 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.922e-05/0.004632, allocations: 89.27 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.004671, allocations: 31.03 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.004684, allocations: 11.69 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.004978, allocations: 46.31 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.005007, allocations: 37.39 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.005009, allocations: 0 / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.005143, allocations: 38.94 kB / 0.7897 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.00517, allocations: 55.41 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.005217, allocations: 142.2 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005227, allocations: 26.86 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.005261, allocations: 126.9 kB / 0.7901 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.005293, allocations: 3.984 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.005322, allocations: 20.75 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.00546, allocations: 496.1 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.005468, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.005475, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.005507, allocations: 17.42 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.005512, allocations: 4 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.874e-05/0.005591, allocations: 41.98 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.005604, allocations: 4.594 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005609, allocations: 0 / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.005623, allocations: 0.9375 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.005665, allocations: 4 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.005669, allocations: 5.922 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.00568, allocations: 3.953 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.005685, allocations: 0 / 0.7906 GB, free: 8.879 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 7.09e-05/0.005756, allocations: 156.5 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.005779, allocations: 4 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.353e-05/0.005862, allocations: 38.81 kB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005864, allocations: 3.938 kB / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.005866, allocations: 0 / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005869, allocations: 0 / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.005943, allocations: 97.73 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005944, allocations: 0 / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.00596, allocations: 8.641 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005962, allocations: 0 / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.005965, allocations: 0.5312 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005967, allocations: 5.562 kB / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005969, allocations: 0 / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.00605, allocations: 72.39 kB / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.006053, allocations: 0 / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.006063, allocations: 4.516 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-06/0.006069, allocations: 0.9062 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.006079, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.006081, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.006113, allocations: 124 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006114, allocations: 0 / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001779/0.006292, allocations: 13.25 kB / 0.7911 GB, free: 8.301 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.0001715/0.006463, allocations: 111.2 kB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.006519, allocations: 16.12 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.006521, allocations: 0.7188 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.006533, allocations: 17.41 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.006653, allocations: 3.938 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.006829, allocations: 83.95 kB / 0.7914 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.00686, allocations: 55.34 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.006876, allocations: 0.875 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.006911, allocations: 73.67 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.006911, allocations: 0 / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.002575/0.009487, allocations: 0.5476 MB / 0.792 GB, free: 7.352 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","",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.899024431128055]