Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.038/2.038, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 176.9 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009372, allocations: 99.64 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.532e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7981/1.046, allocations: 148.7 MB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.046, allocations: 78.97 kB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01421/1.061, allocations: 5.089 MB / 1.356 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.061, allocations: 0 / 1.356 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.061, allocations: 3.844 kB / 1.356 GB, free: 33.58 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003416/1.061, allocations: 359.5 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.061, allocations: 11.69 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/1.061, allocations: 4.531 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.477e-05/1.061, allocations: 176.1 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.061, allocations: 0 / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/1.061, allocations: 4.453 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/1.061, allocations: 15.7 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/1.061, allocations: 45.19 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.062, allocations: 0 / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.062, allocations: 0.6094 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.062, allocations: 3.875 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/1.062, allocations: 145.3 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/1.062, allocations: 57.52 kB / 1.357 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/1.062, allocations: 27.02 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/1.062, allocations: 465.5 kB / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/1.062, allocations: 33.62 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.062, allocations: 0 / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008538/1.063, allocations: 0.5226 MB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/1.063, allocations: 55.25 kB / 1.358 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.852e-05/1.063, allocations: 88.84 kB / 1.358 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/1.063, allocations: 28.14 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/1.063, allocations: 82.83 kB / 1.358 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/1.063, allocations: 32.94 kB / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.063, allocations: 0 / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/1.064, allocations: 328.9 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/1.064, allocations: 18.69 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/1.064, allocations: 11.38 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.796e-05/1.064, allocations: 30.33 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.064, allocations: 0 / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000135/1.064, allocations: 83.12 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.064, allocations: 3.875 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.064, allocations: 0 / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.064, allocations: 3.938 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/1.064, allocations: 22.22 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.064, allocations: 4 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/1.064, allocations: 0 / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/1.064, allocations: 3.844 kB / 1.359 GB, free: 31.15 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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 5.927e-05/1.064, allocations: 110.2 kB / 1.359 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/1.064, allocations: 6.438 kB / 1.359 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.064, allocations: 103 kB / 1.359 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.064, allocations: 0 / 1.359 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.064, allocations: 0 / 1.359 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.064, allocations: 7.125 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/1.065, allocations: 312 kB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.065, allocations: 0 / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.065, allocations: 29.66 kB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.065, allocations: 0 / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.065, allocations: 0 / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.065, allocations: 7.844 kB / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.065, allocations: 0 / 1.359 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.065, allocations: 214.7 kB / 1.36 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/1.065, allocations: 91.03 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/1.065, allocations: 0 / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/1.065, allocations: 7.062 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/1.065, allocations: 6.547 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/1.065, allocations: 3.25 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.832e-05/1.065, allocations: 79.12 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.065, allocations: 0 / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002747/1.065, allocations: 49.5 kB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002282/1.066, allocations: 165.6 kB / 1.36 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001035/1.066, allocations: 56.38 kB / 1.36 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.066, allocations: 0 / 1.36 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/1.066, allocations: 35.92 kB / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/1.066, allocations: 3.953 kB / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/1.066, allocations: 119.2 kB / 1.36 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/1.067, allocations: 0.6966 MB / 1.361 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.492e-05/1.067, allocations: 7.781 kB / 1.361 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/1.067, allocations: 15.28 kB / 1.361 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.067, allocations: 0 / 1.361 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.0031/1.07, allocations: 1.291 MB / 1.362 GB, free: 29.34 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches