Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [: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.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001073/0.001073, allocations: 177.1 kB / 316 MB, free: 3.391 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.064/1.064, allocations: 205.2 MB / 0.5667 GB, free: 15.48 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.0008366/0.0008366, allocations: 86.61 kB / 0.671 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 4 kB / 0.7807 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5458, allocations: 131.8 MB / 1.013 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.546, allocations: 78.69 kB / 1.013 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01057/0.5566, allocations: 3.649 MB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5566, allocations: 0 / 1.017 GB, free: 3.582 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002465/0.5569, allocations: 337.8 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5569, allocations: 12.03 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.557, allocations: 3.906 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.5571, allocations: 159.1 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5571, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.5571, allocations: 4 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.837e-05/0.5572, allocations: 3.938 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.883e-05/0.5572, allocations: 29.7 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5572, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.5572, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5572, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.5574, allocations: 137.9 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/0.5574, allocations: 18.61 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.5574, allocations: 8.859 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/0.5579, allocations: 417.6 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5579, allocations: 38.81 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.558, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.5581, allocations: 37.64 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.5582, allocations: 51.41 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.909e-05/0.5582, allocations: 85 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5582, allocations: 25.7 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.5583, allocations: 80.14 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.5583, allocations: 3.906 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-06/0.5583, allocations: 3.938 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5584, allocations: 314.8 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.5584, allocations: 4.031 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.5584, allocations: 3.438 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.5585, allocations: 3.984 kB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5585, allocations: 0 / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.012e-05/0.5586, allocations: 33.7 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5586, allocations: 7.938 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.5586, allocations: 0 / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.5586, allocations: 0 / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.5586, allocations: 4 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.5586, allocations: 0.9375 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.5587, allocations: 8 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.5587, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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.454e-05/0.5587, allocations: 101 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5588, allocations: 7.984 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/0.5589, allocations: 44.62 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5589, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5589, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5589, allocations: 7.938 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.626e-05/0.559, allocations: 137.8 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.559, allocations: 4 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.559, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.559, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.559, allocations: 3.938 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.559, allocations: 3.938 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5591, allocations: 4 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001069/0.5592, allocations: 57.05 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.5592, allocations: 81.09 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.5592, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.5592, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.5593, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.5593, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.353e-05/0.5593, allocations: 75.28 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002191/0.5595, allocations: 11.94 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001763/0.5597, allocations: 122.5 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.826e-05/0.5598, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5598, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.5598, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.811e-05/0.5599, allocations: 12.88 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001125/0.56, allocations: 39.94 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.5602, allocations: 0.6841 MB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.5602, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.001792/0.562, allocations: 449.4 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches