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.0008173/0.0008173, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008267/0.0008267, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8604/0.8604, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.719/1.719, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.728e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001149/0.001177, allocations: 0.5864 MB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002329/0.00141, allocations: 103.6 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.001425, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.001439, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.001481, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.001686, allocations: 19.91 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.001736, allocations: 8 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.001777, allocations: 3.984 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.00181, allocations: 4 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.001879, allocations: 0 / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.001893, allocations: 0 / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.001952, allocations: 19.98 kB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.001965, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.001982, allocations: 7.938 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.002081, allocations: 19.95 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002083, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002084, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.002089, allocations: 0 / 1.002 GB, free: 12.19 MB / 0.9636 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.0002773/0.002366, allocations: 242.4 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.002406, allocations: 12.75 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.002533, allocations: 12.92 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.898e-05/0.002592, allocations: 101.8 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.002615, allocations: 4.375 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.002625, allocations: 8.312 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.002725, allocations: 34.25 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.002733, allocations: 4.172 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.002742, allocations: 384 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.002747, allocations: 384 / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.0028, allocations: 19.92 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.003049, allocations: 101.3 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.003164, allocations: 42.59 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.003192, allocations: 12.86 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.003209, allocations: 7.984 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.003228, allocations: 34.56 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.003229, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.003383, allocations: 53.69 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.003415, allocations: 55.39 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.33e-05/0.003439, allocations: 89.86 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.003448, allocations: 29.7 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.003468, allocations: 80.14 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.0035, allocations: 19.78 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.003528, allocations: 17.72 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.003606, allocations: 314.8 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.003635, allocations: 11.92 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.003651, allocations: 11.94 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.003702, allocations: 20.84 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003704, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.563e-05/0.00377, allocations: 49.69 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.003784, allocations: 13.55 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.003789, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.003799, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.00402, allocations: 39.94 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008131/0.004833, allocations: 1.279 MB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.004853, allocations: 8.172 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004858, allocations: 4 kB / 1.004 GB, free: 9.207 MB / 0.9636 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.752e-05/0.004915, allocations: 109.8 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.004922, allocations: 7.938 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-06/0.00493, allocations: 3.531 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.004931, allocations: 0 / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004936, allocations: 3.938 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.004937, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.55e-05/0.004993, allocations: 105.3 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.004995, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.005167, allocations: 47.94 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005168, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005176, allocations: 3.938 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006423/0.005818, allocations: 1.293 MB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005819, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.026e-05/0.005889, allocations: 73.09 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-06/0.005892, allocations: 8.141 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-06/0.005896, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.005909, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.005927, allocations: 4 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.00593, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.953e-05/0.00595, allocations: 75.28 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.00595, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001382/0.006088, allocations: 8 kB / 1.006 GB, free: 7.312 MB / 0.9636 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.742e-05/0.006176, allocations: 99.23 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.006412, allocations: 63.86 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006414, allocations: 3.938 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.006573, allocations: 59.91 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.006692, allocations: 14.05 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.006998, allocations: 115.7 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.007031, allocations: 59.22 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.007052, allocations: 8.5 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.007052, allocations: 0 / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of Templates: time 0.001494/0.008546, allocations: 0.6127 MB / 1.007 GB, free: 6.227 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.756095157936215]