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.001047/0.001047, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001082/0.001082, allocations: 165 kB / 24.17 MB, free: 332 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.9939/0.9939, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.483e-06/1.483e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.933e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001765/0.001794, allocations: 0.6696 MB / 0.7608 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.002114, allocations: 97.19 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.002137, allocations: 1.422 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.002155, allocations: 1.438 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.002213, allocations: 0 / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.002448, allocations: 11.92 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.002512, allocations: 8.656 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.002569, allocations: 7.984 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.002626, allocations: 6.422 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.002721, allocations: 4.984 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.002738, allocations: 0 / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.002825, allocations: 19.92 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.002838, allocations: 0.5 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.002855, allocations: 6.094 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.617e-05/0.002941, allocations: 21.11 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002943, allocations: 0 / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002944, allocations: 0 / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002948, allocations: 0 / 0.7609 GB, free: 5.723 MB / 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.0002467/0.003195, allocations: 213.7 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.00323, allocations: 16.02 kB / 0.7612 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.003362, allocations: 10.12 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.473e-05/0.003427, allocations: 102.7 kB / 0.7613 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.003446, allocations: 9.391 kB / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.003452, allocations: 384 / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003556, allocations: 50.95 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.003563, allocations: 0.75 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.00357, allocations: 384 / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.003576, allocations: 2.125 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.003599, allocations: 7.938 kB / 0.7613 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.554e-05/0.003684, allocations: 57.59 kB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.003759, allocations: 38.53 kB / 0.7614 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.003775, allocations: 14.06 kB / 0.7614 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.003787, allocations: 0 / 0.7614 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.003812, allocations: 34.56 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.003813, allocations: 2.203 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.003916, allocations: 41.69 kB / 0.7615 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.003944, allocations: 55.34 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.686e-05/0.003971, allocations: 90.61 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.003981, allocations: 25.7 kB / 0.7617 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.004002, allocations: 80.8 kB / 0.7618 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.004034, allocations: 12.28 kB / 0.7618 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.004058, allocations: 18.47 kB / 0.7618 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.004142, allocations: 314.8 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.004155, allocations: 1.875 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.004163, allocations: 4 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.004201, allocations: 22.02 kB / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.004202, allocations: 0 / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.625e-05/0.004259, allocations: 37.69 kB / 0.7621 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004271, allocations: 9.812 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.004275, allocations: 2.281 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.004289, allocations: 4 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.00444, allocations: 24.84 kB / 0.7622 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007184/0.005158, allocations: 1.202 MB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.005174, allocations: 5.953 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.005178, allocations: 4 kB / 0.7634 GB, free: 3.016 MB / 0.7136 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 5.963e-05/0.005237, allocations: 105.8 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.005244, allocations: 4 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-06/0.005253, allocations: 8.562 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.005254, allocations: 0 / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005256, allocations: 4.594 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005258, allocations: 0.9375 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.936e-05/0.005308, allocations: 69.83 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005309, allocations: 0 / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.005417, allocations: 27.73 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00542, allocations: 3.984 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-06/0.005424, allocations: 0.9844 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.005945, allocations: 1.198 MB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005946, allocations: 0 / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.356e-05/0.005999, allocations: 69.11 kB / 0.7648 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-06/0.006002, allocations: 0 / 0.7648 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-06/0.006006, allocations: 3.938 kB / 0.7648 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.006016, allocations: 6.062 kB / 0.7648 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.006029, allocations: 4 kB / 0.7648 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006034, allocations: 4 kB / 0.7648 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.821e-06/0.006039, allocations: 5.516 kB / 0.7648 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006039, allocations: 0 / 0.7648 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001111/0.00615, allocations: 4 kB / 0.7648 GB, free: 1.379 MB / 0.7136 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 8.518e-05/0.006236, allocations: 85.83 kB / 0.7649 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.006389, allocations: 42.95 kB / 0.765 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.006393, allocations: 5.312 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.006474, allocations: 30.19 kB / 0.765 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.636e-05/0.006531, allocations: 0.8594 kB / 0.765 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.00674, allocations: 101.4 kB / 0.7651 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.00678, allocations: 59.34 kB / 0.7652 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.006807, allocations: 1.406 kB / 0.7652 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.006852, allocations: 51.38 kB / 0.7652 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.006852, allocations: 1.531 kB / 0.7652 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of Templates: time 0.002471/0.009323, allocations: 0.5016 MB / 0.7657 GB, free: 484 kB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.007067447993904]