Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001373/0.001373, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001506/0.001506, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9956/0.9956, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.465/2.465, allocations: 438.8 MB / 0.6827 GB, free: 13.66 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0.7656 kB / 0.8387 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.713e-05, allocations: 4.984 kB / 0.8387 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001453/0.001481, allocations: 0.6656 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002365/0.001717, allocations: 95.72 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.001733, allocations: 0 / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.001748, allocations: 3.938 kB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.001793, allocations: 0 / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.001953, allocations: 15.97 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.001998, allocations: 4 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.002032, allocations: 3.938 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.00207, allocations: 8 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.002134, allocations: 7.984 kB / 0.8395 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.002147, allocations: 4 kB / 0.8395 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.00222, allocations: 15.92 kB / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.002232, allocations: 0 / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.059e-05/0.002242, allocations: 0 / 0.8395 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.447e-05/0.002317, allocations: 23.91 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002318, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002319, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002322, allocations: 0 / 0.8395 GB, free: 13.34 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.000212/0.002534, allocations: 220.7 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.002567, allocations: 8.625 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.002757, allocations: 17.27 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.847e-05/0.002816, allocations: 101.8 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.00283, allocations: 384 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.002836, allocations: 4.375 kB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.002918, allocations: 46.95 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.002925, allocations: 4.125 kB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.00293, allocations: 384 / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.002935, allocations: 384 / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.002959, allocations: 15.86 kB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.265e-05/0.003051, allocations: 68.98 kB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.003133, allocations: 34.61 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.003147, allocations: 8.844 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.003158, allocations: 4 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.003177, allocations: 30.56 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003178, allocations: 0 / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 8.993e-05/0.003268, allocations: 49.62 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.003296, allocations: 51.41 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.717e-05/0.003323, allocations: 89.86 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.003332, allocations: 25.7 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.003351, allocations: 80.14 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.003379, allocations: 11.95 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.003401, allocations: 13.7 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.003483, allocations: 322.8 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.00349, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.003498, allocations: 4 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.003527, allocations: 12.84 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003528, allocations: 4 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.382e-05/0.003582, allocations: 45.62 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.003595, allocations: 6.031 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.003599, allocations: 0 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.00361, allocations: 0 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.003752, allocations: 27.98 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000614/0.004366, allocations: 1.204 MB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.004377, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.004382, allocations: 8.109 kB / 0.8419 GB, free: 10.6 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 () * 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.253e-05/0.004434, allocations: 113.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-06/0.004439, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-06/0.004448, allocations: 7.531 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.004449, allocations: 4 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.004451, allocations: 3.938 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.004453, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.116e-05/0.004504, allocations: 69.78 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.004505, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.004614, allocations: 31.97 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004615, allocations: 0 / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.004619, allocations: 0 / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004947/0.005113, allocations: 1.2 MB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005114, allocations: 0 / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.597e-05/0.00516, allocations: 65.05 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-06/0.005163, allocations: 4 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-06/0.005168, allocations: 7.984 kB / 0.8434 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.005179, allocations: 7.938 kB / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.005193, allocations: 4 kB / 0.8434 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005195, allocations: 0 / 0.8434 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.65e-06/0.0052, allocations: 4.859 kB / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3e-08/0.005201, allocations: 0 / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001009/0.005301, allocations: 4 kB / 0.8434 GB, free: 8.945 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 () * 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 6.759e-05/0.005369, allocations: 80.44 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.005513, allocations: 40.86 kB / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.005515, allocations: 0 / 0.8435 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.005593, allocations: 33.06 kB / 0.8436 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.628e-05/0.005649, allocations: 9.375 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.00582, allocations: 92.55 kB / 0.8437 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.383e-05/0.005844, allocations: 51.36 kB / 0.8437 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.005864, allocations: 4 kB / 0.8437 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.005898, allocations: 51.36 kB / 0.8438 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.005898, allocations: 4 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of Templates: time 0.001779/0.007677, allocations: 0.5046 MB / 0.8443 GB, free: 8.027 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.226649160962552]