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.00174/0.00174, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002093/0.002093, allocations: 161.3 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.859/2.859, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 177] 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.213e-06/1.213e-06, allocations: 0 / 1 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.801e-05, allocations: 4.531 kB / 1 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001584/0.001612, allocations: 0.6092 MB / 1.001 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.0019, allocations: 91.67 kB / 1.001 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.001916, allocations: 7.938 kB / 1.001 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.001933, allocations: 0 / 1.001 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.001975, allocations: 0 / 1.001 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.002196, allocations: 19.91 kB / 1.001 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.002251, allocations: 8 kB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.002306, allocations: 7.984 kB / 1.001 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.002338, allocations: 0 / 1.001 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.002415, allocations: 4 kB / 1.001 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.00243, allocations: 0 / 1.001 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.002495, allocations: 15.98 kB / 1.001 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.002512, allocations: 3.984 kB / 1.001 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.002529, allocations: 4 kB / 1.001 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.002617, allocations: 23.91 kB / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002619, allocations: 4 kB / 1.001 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00262, allocations: 0 / 1.001 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.002623, allocations: 0 / 1.001 GB, free: 5.359 MB / 0.9044 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.0003497/0.002973, allocations: 242.4 kB / 1.001 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.003008, allocations: 8.031 kB / 1.001 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.00316, allocations: 8.922 kB / 1.001 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.003254, allocations: 109.8 kB / 1.001 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.003271, allocations: 384 / 1.001 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.003282, allocations: 384 / 1.001 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.003424, allocations: 38.25 kB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.003434, allocations: 4.188 kB / 1.001 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.003442, allocations: 4.312 kB / 1.001 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.003447, allocations: 384 / 1.001 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.003544, allocations: 19.92 kB / 1.001 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.003688, allocations: 101.4 kB / 1.001 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.003866, allocations: 38.56 kB / 1.001 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.003916, allocations: 16.84 kB / 1.002 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.003928, allocations: 4 kB / 1.002 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.003952, allocations: 30.56 kB / 1.002 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003953, allocations: 0 / 1.002 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002319/0.004185, allocations: 61.75 kB / 1.002 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.004229, allocations: 55.41 kB / 1.002 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.004274, allocations: 89.86 kB / 1.002 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.004291, allocations: 25.7 kB / 1.002 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.004327, allocations: 80.14 kB / 1.002 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.004363, allocations: 11.84 kB / 1.002 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.004401, allocations: 17.72 kB / 1.002 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.004535, allocations: 318.8 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.004579, allocations: 7.984 kB / 1.002 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.004617, allocations: 12.03 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.004707, allocations: 28.78 kB / 1.002 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004709, allocations: 0 / 1.002 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001267/0.004836, allocations: 49.67 kB / 1.002 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.004848, allocations: 4 kB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.004852, allocations: 3.938 kB / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.00487, allocations: 4 kB / 1.002 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.005283, allocations: 39.94 kB / 1.002 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.006718, allocations: 1.286 MB / 1.004 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.006753, allocations: 3.984 kB / 1.004 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.006761, allocations: 4 kB / 1.004 GB, free: 2.379 MB / 0.9044 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.287e-05/0.006844, allocations: 110.5 kB / 1.004 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.006855, allocations: 8.062 kB / 1.004 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.00687, allocations: 3.531 kB / 1.004 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.006871, allocations: 0 / 1.004 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006872, allocations: 4 kB / 1.004 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006875, allocations: 0 / 1.004 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.223e-05/0.006967, allocations: 105.3 kB / 1.004 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006968, allocations: 4 kB / 1.004 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.007385, allocations: 43.94 kB / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.00739, allocations: 4 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.007401, allocations: 7.922 kB / 1.004 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.008691, allocations: 1.278 MB / 1.005 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008692, allocations: 0 / 1.005 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.008833, allocations: 81.02 kB / 1.005 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.00884, allocations: 4 kB / 1.005 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.008849, allocations: 4 kB / 1.005 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.008879, allocations: 4 kB / 1.005 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.008899, allocations: 96 / 1.005 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.008905, allocations: 11.94 kB / 1.005 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.008939, allocations: 75.28 kB / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.008939, allocations: 0 / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002014/0.009141, allocations: 8 kB / 1.005 GB, free: 480 kB / 0.9044 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.0001146/0.009255, allocations: 99.22 kB / 1.005 GB, free: 372 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.00976, allocations: 63.86 kB / 1.005 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009762, allocations: 0 / 1.005 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.01002, allocations: 35.95 kB / 1.005 GB, free: 272 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.01017, allocations: 3.938 kB / 1.005 GB, free: 268 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01049, allocations: 100.8 kB / 1.006 GB, free: 140 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.01054, allocations: 63.34 kB / 1.006 GB, free: 56 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.01057, allocations: 0 / 1.006 GB, free: 56 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.0106, allocations: 8.5 kB / 1.006 GB, free: 48 kB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.0106, allocations: 4 kB / 1.006 GB, free: 44 kB / 0.9044 GB Notification: Performance of Templates: time 0.002873/0.01347, allocations: 461.9 kB / 1.006 GB, free: 15.6 MB / 0.92 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: 7.87793593108654]