Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [: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.999/1.999, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001626/0.001626, allocations: 188.6 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.422/1.422, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0009608/0.0009611, allocations: 88.69 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.018e-05, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2419, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6994/0.9414, allocations: 147.7 MB / 1.349 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.9417, allocations: 76.42 kB / 1.35 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00215/0.9439, allocations: 0.6296 MB / 1.35 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9439, allocations: 0 / 1.35 GB, free: 16.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001939/0.9441, allocations: 313.8 kB / 1.35 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9442, allocations: 10.8 kB / 1.35 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.9442, allocations: 2.375 kB / 1.35 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.02e-05/0.9443, allocations: 164.6 kB / 1.351 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9443, allocations: 0.875 kB / 1.351 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.9443, allocations: 5 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.816e-05/0.9444, allocations: 12.03 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.807e-05/0.9445, allocations: 31.78 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.9445, allocations: 0 / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.9445, allocations: 3.938 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9445, allocations: 1.156 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.9446, allocations: 133.7 kB / 1.351 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.9447, allocations: 32.94 kB / 1.351 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.9447, allocations: 15.86 kB / 1.351 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.945, allocations: 408.3 kB / 1.351 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.9451, allocations: 33.16 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9451, allocations: 0 / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.9452, allocations: 40.48 kB / 1.351 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.9452, allocations: 51.41 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.947e-05/0.9453, allocations: 89 kB / 1.351 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.9453, allocations: 26.8 kB / 1.351 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.221e-05/0.9453, allocations: 80.14 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.9453, allocations: 10.47 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.9453, allocations: 0.75 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.9454, allocations: 315.8 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.9454, allocations: 6.25 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.9454, allocations: 2.125 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.9455, allocations: 8.469 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9455, allocations: 4 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.804e-05/0.9456, allocations: 43.62 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9456, allocations: 7.531 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9456, allocations: 3.938 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.9456, allocations: 1.062 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.9457, allocations: 12.17 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002668/0.946, allocations: 0.5923 MB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.946, allocations: 1.406 kB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.9461, allocations: 0.9688 kB / 1.353 GB, free: 13.62 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.9461, allocations: 103.1 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.9461, allocations: 5.031 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.9463, allocations: 47.94 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.9463, allocations: 0 / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.9463, allocations: 1.25 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9463, allocations: 4.094 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.853e-05/0.9463, allocations: 130.6 kB / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9464, allocations: 0 / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.9464, allocations: 18.86 kB / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.9464, allocations: 3.906 kB / 1.353 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.9465, allocations: 1.188 kB / 1.353 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001923/0.9467, allocations: 0.586 MB / 1.353 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9467, allocations: 5.828 kB / 1.353 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.229e-05/0.9468, allocations: 66.41 kB / 1.353 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.9468, allocations: 79.81 kB / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.9468, allocations: 1.312 kB / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.9468, allocations: 0 / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.9468, allocations: 2.969 kB / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.9468, allocations: 5.125 kB / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.65e-05/0.9469, allocations: 79.28 kB / 1.354 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001943/0.9471, allocations: 7.844 kB / 1.354 GB, free: 12.47 MB / 0.8073 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.9472, allocations: 113.1 kB / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.9474, allocations: 21.11 kB / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9474, allocations: 0 / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.9475, allocations: 14.69 kB / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.128e-05/0.9476, allocations: 1.25 kB / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.9478, allocations: 56.95 kB / 1.354 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.948, allocations: 0.6841 MB / 1.355 GB, free: 27.61 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.948, allocations: 0 / 1.355 GB, free: 27.61 MB / 0.823 GB Notification: Performance of Templates: time 0.002407/0.9505, allocations: 0.5279 MB / 1.355 GB, free: 27.55 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches