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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.17/1.17, allocations: 249.4 MB / 256.7 MB, free: 15.85 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.0009417/0.0009415, allocations: 181 kB / 316 MB, free: 7.227 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.234/1.234, allocations: 205.1 MB / 0.5667 GB, free: 23.62 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.0007947/0.0007947, allocations: 86.03 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4 kB / 0.7807 GB, free: 392 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 106.3 MB / 0.8846 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4698, allocations: 130.9 MB / 1.012 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.47, allocations: 75.95 kB / 1.012 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01204/0.4821, allocations: 4.161 MB / 1.017 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4821, allocations: 0 / 1.017 GB, free: 4.941 MB / 0.6667 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.000294/0.4824, allocations: 354.2 kB / 1.017 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4825, allocations: 8.031 kB / 1.017 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.4825, allocations: 0 / 1.017 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4826, allocations: 163.1 kB / 1.017 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4827, allocations: 0 / 1.017 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4827, allocations: 7.891 kB / 1.017 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.544e-05/0.4827, allocations: 11.94 kB / 1.017 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.179e-05/0.4828, allocations: 29.7 kB / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4828, allocations: 0 / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4828, allocations: 0 / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4828, allocations: 0 / 1.017 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.483, allocations: 138.2 kB / 1.017 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.483, allocations: 18.58 kB / 1.017 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.483, allocations: 12.86 kB / 1.017 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.4836, allocations: 461.5 kB / 1.018 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4837, allocations: 34.56 kB / 1.018 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4837, allocations: 0 / 1.018 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0005355/0.4842, allocations: 250.4 kB / 1.018 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4843, allocations: 55.34 kB / 1.018 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.4843, allocations: 85 kB / 1.018 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4843, allocations: 25.7 kB / 1.018 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.4844, allocations: 84.14 kB / 1.018 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.4844, allocations: 15.8 kB / 1.018 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.4844, allocations: 0 / 1.018 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.4845, allocations: 310.8 kB / 1.019 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.4845, allocations: 8.125 kB / 1.019 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.4845, allocations: 17.72 kB / 1.019 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.4846, allocations: 4 kB / 1.019 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4846, allocations: 0 / 1.019 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.4847, allocations: 57.53 kB / 1.019 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4848, allocations: 4 kB / 1.019 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4848, allocations: 4 kB / 1.019 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4848, allocations: 4.062 kB / 1.019 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.4849, allocations: 4 kB / 1.019 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4849, allocations: 7.984 kB / 1.019 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.4849, allocations: 0 / 1.019 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4849, allocations: 3.984 kB / 1.019 GB, free: 2.465 MB / 0.6667 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 () * 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 5.859e-05/0.485, allocations: 103.1 kB / 1.019 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.485, allocations: 7.906 kB / 1.019 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.4852, allocations: 57.31 kB / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4852, allocations: 0 / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4852, allocations: 0 / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4852, allocations: 3.938 kB / 1.019 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.8e-05/0.4853, allocations: 134.2 kB / 1.019 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.4853, allocations: 0 / 1.019 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.4853, allocations: 4 kB / 1.019 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4853, allocations: 7.906 kB / 1.019 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4854, allocations: 0 / 1.019 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4854, allocations: 7.984 kB / 1.019 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4854, allocations: 0 / 1.019 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000134/0.4855, allocations: 77 kB / 1.019 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.4856, allocations: 81.02 kB / 1.019 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.4856, allocations: 4 kB / 1.019 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.4856, allocations: 0 / 1.019 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.4856, allocations: 4 kB / 1.019 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4856, allocations: 0 / 1.019 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.219e-05/0.4857, allocations: 87.38 kB / 1.019 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001953/0.4859, allocations: 31.94 kB / 1.019 GB, free: 1.781 MB / 0.6667 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 () * 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.0002289/0.4861, allocations: 135.2 kB / 1.019 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.4862, allocations: 12 kB / 1.019 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4862, allocations: 0 / 1.019 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.4862, allocations: 11.94 kB / 1.019 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.731e-05/0.4863, allocations: 4.125 kB / 1.019 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.4865, allocations: 72.27 kB / 1.019 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.4868, allocations: 0.6876 MB / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/0.4868, allocations: 0 / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of Templates: time 0.002632/0.4894, allocations: 0.8841 MB / 1.021 GB, free: 15.95 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