Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.00113/0.00113, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009495/0.0009495, allocations: 165 kB / 23.27 MB, free: 1.223 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.9439/0.9439, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.35/2.35, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 4 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.835e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001309/0.001327, allocations: 0.607 MB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.00155, allocations: 43.86 kB / 0.8904 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.001568, allocations: 4 kB / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.001582, allocations: 0 / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.001588, allocations: 0 / 0.8904 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.001792, allocations: 15.92 kB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.001825, allocations: 0 / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.00186, allocations: 7.984 kB / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.001886, allocations: 0 / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.001907, allocations: 0 / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.001918, allocations: 0 / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.002005, allocations: 23.98 kB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.002015, allocations: 0 / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.508e-06/0.002025, allocations: 0 / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.002097, allocations: 23.91 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002098, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002099, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002102, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 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.0002154/0.002317, allocations: 352.3 kB / 0.8908 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.002354, allocations: 12.62 kB / 0.8909 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.002525, allocations: 9.266 kB / 0.8909 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.44e-05/0.002579, allocations: 124.6 kB / 0.891 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.002588, allocations: 384 / 0.891 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-06/0.002593, allocations: 4.359 kB / 0.891 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.409e-05/0.002678, allocations: 42.97 kB / 0.891 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.002684, allocations: 192 / 0.891 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.002691, allocations: 4.359 kB / 0.891 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.002696, allocations: 384 / 0.891 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.002712, allocations: 7.938 kB / 0.891 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.983e-05/0.002792, allocations: 93.22 kB / 0.8911 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.291e-05/0.002825, allocations: 35.03 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.002838, allocations: 11.69 kB / 0.8912 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.002853, allocations: 0 / 0.8912 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.002873, allocations: 37.45 kB / 0.8912 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002874, allocations: 0 / 0.8912 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.531e-05/0.002969, allocations: 33.69 kB / 0.8912 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.002993, allocations: 55.34 kB / 0.8913 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.632e-05/0.00303, allocations: 142.2 kB / 0.8914 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.003039, allocations: 25.7 kB / 0.8915 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.003068, allocations: 131 kB / 0.8916 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.00309, allocations: 4 kB / 0.8916 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.003117, allocations: 15.38 kB / 0.8916 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.003226, allocations: 496.1 kB / 0.8921 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.003239, allocations: 7.984 kB / 0.8921 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-06/0.003246, allocations: 0 / 0.8921 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.003275, allocations: 15.69 kB / 0.8921 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003276, allocations: 0 / 0.8921 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.171e-05/0.003328, allocations: 33.77 kB / 0.8921 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.003339, allocations: 4 kB / 0.8921 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.003342, allocations: 3.938 kB / 0.8921 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.003351, allocations: 0 / 0.8921 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.003398, allocations: 7.984 kB / 0.8921 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.0034, allocations: 0 / 0.8921 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.003414, allocations: 3.938 kB / 0.8921 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.003418, allocations: 4 kB / 0.8922 GB, free: 7.102 MB / 0.8542 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 5.504e-05/0.003473, allocations: 156.5 kB / 0.8923 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.003479, allocations: 0 / 0.8923 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.003499, allocations: 7.031 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.003502, allocations: 4 kB / 0.8923 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003503, allocations: 0 / 0.8923 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.003506, allocations: 3.984 kB / 0.8923 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.014e-05/0.003566, allocations: 105.1 kB / 0.8924 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.003567, allocations: 0 / 0.8924 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.003582, allocations: 4 kB / 0.8924 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.003583, allocations: 0 / 0.8924 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-06/0.003586, allocations: 0 / 0.8924 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003587, allocations: 0 / 0.8924 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.003587, allocations: 0 / 0.8924 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.57e-05/0.003653, allocations: 84.31 kB / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.003657, allocations: 4 kB / 0.8925 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.003665, allocations: 4 kB / 0.8925 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.003676, allocations: 0 / 0.8925 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-06/0.003684, allocations: 0 / 0.8925 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.003686, allocations: 0 / 0.8925 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.003713, allocations: 119.2 kB / 0.8926 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.003713, allocations: 0 / 0.8926 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001584/0.003871, allocations: 4 kB / 0.8926 GB, free: 6.555 MB / 0.8542 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 6.73e-05/0.003939, allocations: 99.27 kB / 0.8927 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.348e-05/0.003992, allocations: 11.69 kB / 0.8927 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.003993, allocations: 0 / 0.8927 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.004005, allocations: 11.62 kB / 0.8927 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.004113, allocations: 7.938 kB / 0.8927 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.004257, allocations: 91.94 kB / 0.8928 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.555e-05/0.004283, allocations: 51.36 kB / 0.8929 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.004305, allocations: 4.125 kB / 0.8929 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.004343, allocations: 70.2 kB / 0.893 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of SimCode: time 3.5e-07/0.004343, allocations: 0 / 0.893 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of Templates: time 0.001587/0.00593, allocations: 282.6 kB / 0.8932 GB, free: 5.867 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.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.111632974818349]