Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,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.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.3 MB / 261.9 MB, free: 5.949 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.001051/0.001051, allocations: 170.6 kB / 321.3 MB, free: 14.66 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.437/1.437, allocations: 205.1 MB / 0.572 GB, free: 10.65 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.0007817/0.0007815, allocations: 92.86 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.871e-05, allocations: 8 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9706/1.23, allocations: 131.8 MB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.23, allocations: 76.45 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01525/1.245, allocations: 5.065 MB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.856e-06/1.246, allocations: 0 / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.246, allocations: 4 kB / 1.026 GB, free: 14.21 MB / 0.6511 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.0005438/1.246, allocations: 361.5 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/1.246, allocations: 8.031 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/1.246, allocations: 7.938 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/1.246, allocations: 171 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.246, allocations: 4 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/1.247, allocations: 11.66 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.247, allocations: 44.25 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/1.247, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.247, allocations: 3.984 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.247, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/1.247, allocations: 19.3 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/1.247, allocations: 164.5 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.247, allocations: 64.19 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/1.247, allocations: 26.61 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/1.248, allocations: 461.5 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.248, allocations: 30.56 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/1.248, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001384/1.249, allocations: 0.5676 MB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.249, allocations: 51.41 kB / 1.027 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/1.25, allocations: 93.36 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.25, allocations: 29.14 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/1.25, allocations: 80.14 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/1.25, allocations: 38.64 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.25, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.25, allocations: 318.2 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/1.25, allocations: 23.06 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/1.25, allocations: 27.56 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/1.25, allocations: 22.86 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/1.25, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001646/1.25, allocations: 92.97 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.25, allocations: 4 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.25, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.25, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.25, allocations: 27.92 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.25, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/1.251, allocations: 3.688 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.251, allocations: 8 kB / 1.028 GB, free: 11.23 MB / 0.6511 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 0.0001004/1.251, allocations: 108.3 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/1.251, allocations: 7.906 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/1.251, allocations: 109.6 kB / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.251, allocations: 3.938 kB / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.251, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.251, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/1.251, allocations: 354.3 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.251, allocations: 8 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.252, allocations: 19.98 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.252, allocations: 3.938 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.252, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.252, allocations: 4 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.252, allocations: 0 / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/1.252, allocations: 217.9 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/1.252, allocations: 93.17 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/1.252, allocations: 3.438 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/1.252, allocations: 7.938 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/1.252, allocations: 3.984 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.252, allocations: 7.25 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.924e-05/1.252, allocations: 79.28 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.252, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003788/1.253, allocations: 59.48 kB / 1.029 GB, free: 10.14 MB / 0.6511 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.0003121/1.253, allocations: 162.7 kB / 1.029 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.253, allocations: 54.31 kB / 1.029 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.253, allocations: 0 / 1.029 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/1.253, allocations: 34.73 kB / 1.029 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/1.253, allocations: 11.14 kB / 1.029 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/1.254, allocations: 139.4 kB / 1.03 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.254, allocations: 0.6887 MB / 1.03 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.996e-05/1.254, allocations: 15.89 kB / 1.03 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/1.254, allocations: 19.42 kB / 1.03 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.254, allocations: 0 / 1.03 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of Templates: time 0.004208/1.259, allocations: 1.305 MB / 1.032 GB, free: 7.719 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches