Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 71.75 kB / 20.97 MB, free: 3.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 173 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9729/0.9729, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.839/1.839, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8116 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.908e-05, allocations: 3.922 kB / 0.8116 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001738/0.001767, allocations: 0.6198 MB / 0.8122 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.002051, allocations: 103.6 kB / 0.8123 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.002073, allocations: 1.406 kB / 0.8123 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.00209, allocations: 3.938 kB / 0.8123 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.002138, allocations: 0 / 0.8123 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.002367, allocations: 12.64 kB / 0.8123 GB, free: 196 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.002427, allocations: 11.98 kB / 0.8123 GB, free: 184 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.00247, allocations: 4.906 kB / 0.8123 GB, free: 180 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.002509, allocations: 3.984 kB / 0.8123 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.002589, allocations: 4.656 kB / 0.8123 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.002604, allocations: 0 / 0.8123 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.002671, allocations: 14.23 kB / 0.8123 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.002688, allocations: 4 kB / 0.8123 GB, free: 156 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.002705, allocations: 0 / 0.8123 GB, free: 156 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002809, allocations: 19.91 kB / 0.8124 GB, free: 136 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.002815, allocations: 7.938 kB / 0.8124 GB, free: 128 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002815, allocations: 0 / 0.8124 GB, free: 128 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.002821, allocations: 4.703 kB / 0.8124 GB, free: 124 kB / 0.7136 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.0003491/0.00317, allocations: 336.4 kB / 0.8127 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.003211, allocations: 9.156 kB / 0.8127 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.003368, allocations: 8.922 kB / 0.8127 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.003452, allocations: 121.1 kB / 0.8128 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.003471, allocations: 384 / 0.8128 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.00348, allocations: 0.9375 kB / 0.8128 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.003609, allocations: 52.2 kB / 0.8129 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.003616, allocations: 192 / 0.8129 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.003625, allocations: 384 / 0.8129 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.003634, allocations: 384 / 0.8129 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.004e-05/0.003674, allocations: 16.45 kB / 0.8129 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.003804, allocations: 110 kB / 0.813 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.003912, allocations: 47.09 kB / 0.813 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.003937, allocations: 11.69 kB / 0.813 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.003951, allocations: 1.25 kB / 0.813 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.003977, allocations: 33.39 kB / 0.8131 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.003978, allocations: 0 / 0.8131 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001577/0.004136, allocations: 50.47 kB / 0.8131 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.004171, allocations: 59.34 kB / 0.8132 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.004221, allocations: 147 kB / 0.8133 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.004231, allocations: 25.7 kB / 0.8133 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.004268, allocations: 131.4 kB / 0.8135 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.004297, allocations: 9.312 kB / 0.8135 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.00433, allocations: 19.38 kB / 0.8135 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.004472, allocations: 0.4883 MB / 0.814 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.004497, allocations: 4 kB / 0.814 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.004511, allocations: 9.516 kB / 0.814 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.004564, allocations: 19.69 kB / 0.814 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004566, allocations: 0 / 0.814 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.97e-05/0.004646, allocations: 41.69 kB / 0.814 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.004662, allocations: 11.88 kB / 0.8141 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004667, allocations: 3.938 kB / 0.8141 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.004681, allocations: 3.938 kB / 0.8141 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.00489, allocations: 25.16 kB / 0.8141 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.005976, allocations: 1.799 MB / 0.8158 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.005994, allocations: 0 / 0.8158 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.006003, allocations: 8.484 kB / 0.8159 GB, free: 12.23 MB / 0.7292 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.006083, allocations: 158 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.006094, allocations: 3.938 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.006107, allocations: 7.531 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.006108, allocations: 0.8125 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.006109, allocations: 0 / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006112, allocations: 1.094 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.006188, allocations: 116.6 kB / 0.8161 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.006191, allocations: 4.828 kB / 0.8161 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.006369, allocations: 29.28 kB / 0.8162 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006371, allocations: 0 / 0.8162 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.00638, allocations: 4.438 kB / 0.8162 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009191/0.007299, allocations: 1.796 MB / 0.8179 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0073, allocations: 0.875 kB / 0.8179 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.007389, allocations: 84.38 kB / 0.818 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-06/0.007392, allocations: 0 / 0.818 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-06/0.007398, allocations: 3.469 kB / 0.818 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.007413, allocations: 3.938 kB / 0.818 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.007436, allocations: 7.984 kB / 0.818 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.00744, allocations: 0 / 0.818 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.007477, allocations: 119.2 kB / 0.8181 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.007477, allocations: 0 / 0.8181 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002186/0.007696, allocations: 8 kB / 0.8181 GB, free: 9.715 MB / 0.7292 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.007805, allocations: 95.75 kB / 0.8182 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.008051, allocations: 44.77 kB / 0.8183 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008053, allocations: 1.25 kB / 0.8183 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.008193, allocations: 35.89 kB / 0.8183 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.008345, allocations: 8.438 kB / 0.8183 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.008612, allocations: 115.2 kB / 0.8184 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.008645, allocations: 52.45 kB / 0.8185 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.008675, allocations: 9.078 kB / 0.8185 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.008704, allocations: 12.48 kB / 0.8185 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.008705, allocations: 1.094 kB / 0.8185 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of Templates: time 0.002545/0.01125, allocations: 464.1 kB / 0.8189 GB, free: 8.855 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.053995782043785]