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.001214/0.001214, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001266/0.001266, allocations: 161 kB / 23.82 MB, free: 0.75 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.9457/0.9457, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.736/1.736, allocations: 359 MB / 0.6052 GB, free: 11.01 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.542e-06/1.542e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.839e-05, allocations: 10.08 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001932/0.00195, allocations: 1.506 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.002584, allocations: 367.4 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002619, allocations: 0.9062 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.002648, allocations: 3.938 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.00269, allocations: 4.984 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.003048, allocations: 116.2 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.003109, allocations: 25.52 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.003197, allocations: 4 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.003244, allocations: 11.98 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.003278, allocations: 15.97 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.003292, allocations: 7.438 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.003559, allocations: 251.7 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.003576, allocations: 7.938 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.003596, allocations: 7.984 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.003779, allocations: 131.6 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003781, allocations: 0 / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003782, allocations: 0 / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003786, allocations: 3.938 kB / 0.7895 GB, free: 10.05 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.0003602/0.004146, allocations: 384.3 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004186, allocations: 12.8 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.004264, allocations: 8.938 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.004339, allocations: 113.2 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.00435, allocations: 384 / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.00436, allocations: 1.906 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004463, allocations: 50.95 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.004473, allocations: 192 / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.004483, allocations: 4.375 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004491, allocations: 0.9688 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.004522, allocations: 17.2 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.004776, allocations: 243.8 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.004823, allocations: 35.09 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.004842, allocations: 9.219 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.005138, allocations: 77.92 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.005159, allocations: 37.95 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.00516, allocations: 0 / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.005301, allocations: 47.61 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.005324, allocations: 51.41 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.00539, allocations: 166.1 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.005398, allocations: 25.7 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.00544, allocations: 134.8 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.005455, allocations: 8.484 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.005479, allocations: 20.09 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.005711, allocations: 496.1 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.005723, allocations: 1.312 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.005733, allocations: 4.062 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.005761, allocations: 28.23 kB / 0.7914 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005763, allocations: 0 / 0.7914 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.239e-05/0.005815, allocations: 34.83 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.589e-06/0.005825, allocations: 7.938 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.005831, allocations: 8.688 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.005845, allocations: 0 / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.005894, allocations: 4.719 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.0059, allocations: 3.984 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.005917, allocations: 9.219 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005921, allocations: 0 / 0.7914 GB, free: 7.855 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.121e-05/0.005972, allocations: 156.6 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.005995, allocations: 12.39 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.006072, allocations: 58.28 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.006073, allocations: 0 / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.006076, allocations: 0.9062 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.006078, allocations: 0 / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.127e-05/0.00616, allocations: 116.6 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00616, allocations: 4.844 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.006178, allocations: 4 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006179, allocations: 2.219 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.006184, allocations: 3.984 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006186, allocations: 3.938 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006186, allocations: 0 / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.006268, allocations: 187.9 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.006272, allocations: 2.719 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.006281, allocations: 7.984 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.00631, allocations: 3.938 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.006339, allocations: 4 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.006341, allocations: 0 / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.006374, allocations: 135.2 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006374, allocations: 0 / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001475/0.006521, allocations: 12 kB / 0.7921 GB, free: 7.094 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.0001085/0.00663, allocations: 112.7 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.848e-05/0.006698, allocations: 20.17 kB / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.0067, allocations: 0 / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.006716, allocations: 16.72 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.006884, allocations: 8 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.007097, allocations: 123.8 kB / 0.7924 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.007128, allocations: 59.28 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.007142, allocations: 7.969 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.007161, allocations: 8.5 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.007161, allocations: 0 / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.002154/0.009315, allocations: 0.748 MB / 0.7932 GB, free: 5.953 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: 5.179438735824078]