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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.888/1.888, allocations: 387.2 MB / 394.5 MB, free: 13.69 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: 181.3 kB / 487 MB, free: 5.395 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.259/1.259, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.0009869/0.0009868, allocations: 111 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.057e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/0.9397, allocations: 148.6 MB / 1.35 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.9401, allocations: 72.58 kB / 1.35 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01897/0.9591, allocations: 4.739 MB / 1.355 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.9592, allocations: 0.9062 kB / 1.355 GB, free: 15.48 MB / 0.8073 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.0003277/0.9595, allocations: 364.6 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.9595, allocations: 10.88 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.9596, allocations: 6.938 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.9598, allocations: 165.5 kB / 1.356 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.9598, allocations: 1.656 kB / 1.356 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.9598, allocations: 6.719 kB / 1.356 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.524e-05/0.9599, allocations: 24.66 kB / 1.356 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.511e-05/0.96, allocations: 42.81 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.96, allocations: 3.938 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.96, allocations: 1 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.96, allocations: 1.031 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.9602, allocations: 145.2 kB / 1.356 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.9603, allocations: 32.2 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.9603, allocations: 32.44 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.9609, allocations: 465.4 kB / 1.356 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.961, allocations: 32.95 kB / 1.356 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.961, allocations: 0 / 1.356 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001068/0.9621, allocations: 0.517 MB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.9621, allocations: 57.31 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.9621, allocations: 88.38 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.9622, allocations: 27.42 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.9622, allocations: 80.14 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.9622, allocations: 37.97 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.9622, allocations: 1.25 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.9623, allocations: 318 kB / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.9623, allocations: 18.53 kB / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.9624, allocations: 22.75 kB / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.9625, allocations: 21.75 kB / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9625, allocations: 0 / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001833/0.9627, allocations: 85.47 kB / 1.358 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9627, allocations: 4.562 kB / 1.358 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9627, allocations: 1.578 kB / 1.358 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9627, allocations: 5 kB / 1.358 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9629, allocations: 28.5 kB / 1.358 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.9629, allocations: 4.938 kB / 1.358 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.9629, allocations: 0 / 1.358 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.9629, allocations: 7.297 kB / 1.358 GB, free: 13.05 MB / 0.8073 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.574e-05/0.963, allocations: 106.7 kB / 1.358 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.963, allocations: 3.094 kB / 1.358 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.9632, allocations: 98.64 kB / 1.358 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9633, allocations: 6.297 kB / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9633, allocations: 0 / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.9633, allocations: 1.547 kB / 1.358 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.9637, allocations: 324.6 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.9637, allocations: 1.281 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.9638, allocations: 18.97 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9638, allocations: 9.359 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.9638, allocations: 1.625 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.9638, allocations: 1.281 kB / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9638, allocations: 0 / 1.358 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000293/0.9641, allocations: 211.9 kB / 1.358 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.9642, allocations: 88.78 kB / 1.358 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.9642, allocations: 0.7031 kB / 1.358 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.9643, allocations: 5.766 kB / 1.358 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.9644, allocations: 5.5 kB / 1.358 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.9644, allocations: 4.125 kB / 1.358 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.022e-05/0.9644, allocations: 78.09 kB / 1.359 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003004/0.9647, allocations: 55.03 kB / 1.359 GB, free: 12.29 MB / 0.8073 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.0002904/0.965, allocations: 164 kB / 1.359 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.9652, allocations: 50.12 kB / 1.359 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9652, allocations: 0.8438 kB / 1.359 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.9652, allocations: 34.02 kB / 1.359 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.9654, allocations: 2.312 kB / 1.359 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.9657, allocations: 121.9 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.9659, allocations: 0.7059 MB / 1.36 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/0.9659, allocations: 0.8438 kB / 1.36 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.004666/0.9706, allocations: 1.474 MB / 1.361 GB, free: 11.26 MB / 0.8073 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