Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.9 MB / 266.9 MB, free: 10.87 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.001077/0.001077, allocations: 180.7 kB / 326.5 MB, free: 2.234 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.688/1.688, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008227/0.0008223, allocations: 96.38 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 10.91 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.3573, allocations: 131.7 MB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3576, allocations: 71.95 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.3699, allocations: 4.546 MB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.37, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.37, allocations: 4 kB / 1.033 GB, free: 7.398 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003094/0.3703, allocations: 351.2 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3704, allocations: 12.03 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3704, allocations: 3.984 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3705, allocations: 163 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3706, allocations: 4 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3706, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.3707, allocations: 41.69 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.3707, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.3707, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3707, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.3707, allocations: 11.88 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3709, allocations: 157.7 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.3709, allocations: 18.58 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/0.3715, allocations: 457.5 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3716, allocations: 38.56 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3716, allocations: 4 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004651/0.372, allocations: 246.3 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3721, allocations: 51.41 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.3721, allocations: 96.94 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3722, allocations: 25.7 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.3722, allocations: 84.47 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3722, allocations: 7.906 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.3722, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3723, allocations: 318.8 kB / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.3724, allocations: 0 / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.3724, allocations: 25.7 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.3724, allocations: 4 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3724, allocations: 3.953 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.737e-05/0.3725, allocations: 53.64 kB / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3725, allocations: 11.92 kB / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3725, allocations: 0 / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3726, allocations: 4 kB / 1.035 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.3726, allocations: 4 kB / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3726, allocations: 0 / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.3727, allocations: 0 / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3727, allocations: 8 kB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.23e-05/0.3728, allocations: 110 kB / 1.035 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3728, allocations: 11.86 kB / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.3729, allocations: 61.05 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3729, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3729, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3729, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.373, allocations: 153.7 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3731, allocations: 4 kB / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.3731, allocations: 11.89 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3731, allocations: 4 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3731, allocations: 4 kB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3731, allocations: 0 / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3731, allocations: 0 / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.3733, allocations: 89.22 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.3733, allocations: 77.11 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3733, allocations: 7.984 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.3734, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.3734, allocations: 8.062 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3734, allocations: 4 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.3735, allocations: 79.27 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3735, allocations: 0 / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002068/0.3737, allocations: 28 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002173/0.3739, allocations: 143.2 kB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.139e-05/0.374, allocations: 12.14 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.374, allocations: 8.062 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.374, allocations: 7.938 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.495e-05/0.3741, allocations: 9.312 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.3743, allocations: 116.9 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3746, allocations: 0.6848 MB / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3746, allocations: 4 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.3746, allocations: 11.44 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3746, allocations: 0 / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of Templates: time 0.002524/0.3772, allocations: 0.7918 MB / 1.038 GB, free: 2.324 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches