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.295/1.295, 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.001123/0.001123, allocations: 190.9 kB / 326.5 MB, free: 2.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.644/1.644, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008431/0.000843, allocations: 90.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004056, allocations: 11.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2017, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.3642, allocations: 131.9 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.3645, allocations: 75.95 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.379, allocations: 5.077 MB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3791, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.3791, allocations: 0 / 1.034 GB, free: 6.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004582/0.3795, allocations: 371.1 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3796, allocations: 8.031 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.3797, allocations: 11.98 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3798, allocations: 167 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3798, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3799, allocations: 7.906 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.38, allocations: 49.69 kB / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.38, allocations: 0 / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3801, allocations: 0 / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3801, allocations: 0 / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.3801, allocations: 23.92 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.3803, allocations: 177.6 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3804, allocations: 58.5 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.381, allocations: 465.5 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3811, allocations: 34.56 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3811, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001253/0.3824, allocations: 0.5877 MB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3824, allocations: 59.34 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.3825, allocations: 89 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3825, allocations: 33.64 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.3825, allocations: 84.12 kB / 1.036 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3826, allocations: 39.38 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3826, allocations: 0 / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3827, allocations: 322.8 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.3828, allocations: 23.98 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.3828, allocations: 16 kB / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.3828, allocations: 28 kB / 1.036 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3829, allocations: 0 / 1.036 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001422/0.383, allocations: 92.05 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.383, allocations: 4 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.383, allocations: 0 / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.383, allocations: 4 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3832, allocations: 27.92 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3832, allocations: 0 / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.3832, allocations: 8 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.3832, allocations: 0 / 1.037 GB, free: 3.609 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 (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.636e-05/0.3833, allocations: 119 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3833, allocations: 11.91 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.3835, allocations: 113.5 kB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3835, allocations: 0 / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3836, allocations: 4 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3836, allocations: 0 / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.3839, allocations: 350.5 kB / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.384, allocations: 96 / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3841, allocations: 35.86 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3841, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3841, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3841, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3841, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3844, allocations: 223.3 kB / 1.037 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3844, allocations: 85.12 kB / 1.037 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3844, allocations: 4 kB / 1.037 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.3845, allocations: 0 / 1.037 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.3845, allocations: 7.984 kB / 1.037 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3846, allocations: 8 kB / 1.038 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.3846, allocations: 79.28 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3846, allocations: 0 / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002919/0.3849, allocations: 55.86 kB / 1.038 GB, free: 2.43 MB / 0.6823 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 () * Number of clocked 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.0002527/0.3852, allocations: 163.4 kB / 1.038 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3853, allocations: 64.41 kB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3853, allocations: 0 / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.3854, allocations: 35.86 kB / 1.038 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3855, allocations: 13.78 kB / 1.038 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3859, allocations: 190.9 kB / 1.038 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3861, allocations: 0.6965 MB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.3862, allocations: 12.3 kB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.3862, allocations: 11.44 kB / 1.039 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3862, allocations: 0 / 1.039 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of Templates: time 0.003275/0.3895, allocations: 1.296 MB / 1.04 GB, free: 15.91 MB / 0.698 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