Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.3 MB / 261.9 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 178.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007955/0.0007955, allocations: 96.14 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.541e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2611, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.269, allocations: 130.9 MB / 1.02 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.269, allocations: 76.52 kB / 1.02 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001755/1.271, allocations: 0.5404 MB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/1.271, allocations: 3.938 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.271, allocations: 0 / 1.02 GB, free: 3.242 MB / 0.6355 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.0003149/1.271, allocations: 310.4 kB / 1.021 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.271, allocations: 16.03 kB / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/1.272, allocations: 18.78 kB / 1.021 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/1.272, allocations: 167 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.272, allocations: 0 / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/1.272, allocations: 0 / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/1.272, allocations: 33.52 kB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.272, allocations: 4 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.272, allocations: 0 / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.272, allocations: 0 / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/1.272, allocations: 3.984 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/1.272, allocations: 149.6 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/1.272, allocations: 18.52 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/1.272, allocations: 12.27 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.272, allocations: 0 / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/1.272, allocations: 34.56 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.272, allocations: 0 / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000155/1.272, allocations: 33.69 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.273, allocations: 58.08 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/1.273, allocations: 85 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.273, allocations: 29.7 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/1.273, allocations: 84.12 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/1.273, allocations: 3 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/1.273, allocations: 4.031 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.273, allocations: 310.8 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/1.273, allocations: 0 / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/1.273, allocations: 4 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/1.273, allocations: 3.984 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.273, allocations: 0 / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.73e-05/1.273, allocations: 37.66 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.273, allocations: 5.094 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.273, allocations: 4.094 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.273, allocations: 0 / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/1.273, allocations: 7.984 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.273, allocations: 3.938 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/1.273, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.273, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/1.273, allocations: 108.2 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/1.273, allocations: 7.938 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/1.273, allocations: 11.08 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.273, allocations: 0 / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.273, allocations: 0 / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/1.273, allocations: 3.984 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/1.273, allocations: 153.6 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.273, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/1.274, allocations: 4.859 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.274, allocations: 7.953 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.274, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.274, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.274, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/1.274, allocations: 60.45 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/1.274, allocations: 81.09 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/1.274, allocations: 7.828 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.372e-05/1.274, allocations: 3.938 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/1.274, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.274, allocations: 4 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.59e-05/1.274, allocations: 79.31 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.274, allocations: 0 / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002042/1.274, allocations: 2.812 kB / 1.022 GB, free: 1.031 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/1.274, allocations: 95.81 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.096e-05/1.274, allocations: 7.984 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.274, allocations: 4 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/1.274, allocations: 0 / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/1.275, allocations: 0 / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/1.275, allocations: 56.86 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.275, allocations: 0.6731 MB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.753e-05/1.275, allocations: 4 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/1.275, allocations: 7.438 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of SimCode: time 2.274e-06/1.275, allocations: 4 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of Templates: time 0.002286/1.278, allocations: 228.6 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches