Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 175.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008554/0.0008553, allocations: 99.88 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003259, allocations: 14.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.3739, allocations: 131.6 MB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3742, allocations: 75.95 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.3851, allocations: 4.008 MB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3851, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3851, allocations: 4 kB / 1.033 GB, free: 8.09 MB / 0.6823 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.0002766/0.3854, allocations: 335.4 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3855, allocations: 8.031 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.3855, allocations: 0 / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.3856, allocations: 163 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3856, allocations: 4 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3856, allocations: 4 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.3857, allocations: 33.69 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3857, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3857, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3858, allocations: 11.86 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.3858, allocations: 4 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3859, allocations: 145.6 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.356e-05/0.3859, allocations: 18.61 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/0.3864, allocations: 425.6 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3864, allocations: 38.56 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3864, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.3866, allocations: 41.62 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3867, allocations: 55.53 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.646e-05/0.3867, allocations: 85 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3867, allocations: 25.7 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.3868, allocations: 80.14 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3868, allocations: 3.906 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.3868, allocations: 4 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3869, allocations: 310.8 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.3869, allocations: 0 / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.387, allocations: 4 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.387, allocations: 4 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.387, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.46e-05/0.3871, allocations: 45.58 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3871, allocations: 9.031 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3871, allocations: 0 / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3871, allocations: 4 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.3872, allocations: 0 / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3872, allocations: 0 / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.3872, allocations: 0 / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3872, allocations: 4.094 kB / 1.034 GB, free: 5.961 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3873, allocations: 109.8 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.3873, allocations: 3.953 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.3874, allocations: 44.8 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3874, allocations: 0 / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3874, allocations: 3.938 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3874, allocations: 4 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.284e-05/0.3875, allocations: 141.7 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3875, allocations: 7.969 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.3875, allocations: 3.984 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3875, allocations: 7.953 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.3876, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3876, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3876, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.111e-05/0.3877, allocations: 53.14 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3877, allocations: 89.12 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3877, allocations: 3.953 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.3877, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.3877, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-06/0.3878, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.818e-05/0.3878, allocations: 75.28 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3878, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001898/0.388, allocations: 19.94 kB / 1.035 GB, free: 5.301 MB / 0.6823 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 (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.0001886/0.3882, allocations: 115.2 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.762e-05/0.3882, allocations: 8 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3883, allocations: 0 / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.3883, allocations: 4 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.946e-05/0.3884, allocations: 4 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.3885, allocations: 74.78 kB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3888, allocations: 0.677 MB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.3888, allocations: 4.125 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.3888, allocations: 11.44 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/0.3888, allocations: 0 / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of Templates: time 0.002104/0.391, allocations: 421.6 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches