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.529/1.529, allocations: 249.5 MB / 257 MB, free: 6.871 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.00108/0.00108, allocations: 167.5 kB / 316.3 MB, free: 3.242 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.898/1.898, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.000827/0.0008271, allocations: 82.83 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.946e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8198/1.028, allocations: 132.1 MB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.028, allocations: 80.5 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/1.042, allocations: 5.042 MB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/1.042, allocations: 0 / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.042, allocations: 0 / 1.019 GB, free: 1.496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000421/1.043, allocations: 362.2 kB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.043, allocations: 15.97 kB / 1.02 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/1.043, allocations: 7.984 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.043, allocations: 167 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.043, allocations: 0 / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/1.043, allocations: 11.91 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.942e-05/1.043, allocations: 15.56 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/1.043, allocations: 45.17 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.043, allocations: 3.938 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.043, allocations: 4 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.043, allocations: 0 / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.044, allocations: 142.1 kB / 1.02 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/1.044, allocations: 54.06 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/1.044, allocations: 24.67 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/1.044, allocations: 461.5 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/1.044, allocations: 34.25 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.044, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.00102/1.045, allocations: 0.5222 MB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/1.046, allocations: 55.28 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.887e-05/1.046, allocations: 89 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.046, allocations: 25.7 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/1.046, allocations: 80.14 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/1.046, allocations: 35.33 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.046, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.046, allocations: 322.5 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/1.046, allocations: 23.69 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/1.046, allocations: 11.5 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/1.046, allocations: 31.58 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/1.046, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/1.046, allocations: 89.08 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.046, allocations: 10.19 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.046, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.046, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.046, allocations: 19.98 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.046, allocations: 4.094 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/1.046, allocations: 7.938 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.046, allocations: 0 / 1.022 GB, free: 14.6 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 7.312e-05/1.046, allocations: 113.2 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/1.046, allocations: 11.53 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/1.047, allocations: 97.12 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.047, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.047, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.047, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/1.047, allocations: 318.1 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.047, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/1.047, allocations: 19.98 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.047, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.047, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.047, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.047, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/1.048, allocations: 211.8 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/1.048, allocations: 89.25 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/1.048, allocations: 7.938 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/1.048, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/1.048, allocations: 11.97 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/1.048, allocations: 4 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.801e-05/1.048, allocations: 83.22 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.433e-06/1.048, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003191/1.048, allocations: 55.86 kB / 1.023 GB, free: 13.56 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.0002907/1.048, allocations: 162 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001294/1.049, allocations: 55.3 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.049, allocations: 0 / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/1.049, allocations: 27.88 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/1.049, allocations: 8.969 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/1.049, allocations: 127.3 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.049, allocations: 0.6962 MB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.087e-05/1.049, allocations: 15.88 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/1.049, allocations: 15.44 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.05, allocations: 0 / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.003588/1.053, allocations: 1.282 MB / 1.025 GB, free: 11.19 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