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.0012/0.0012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001386/0.001386, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8769/0.8769, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.818/1.818, allocations: 389 MB / 0.633 GB, free: 12.68 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.728e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001285/0.001312, allocations: 0.5969 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.001549, allocations: 83.69 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.001566, allocations: 3.938 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.00158, allocations: 0 / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.001623, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.001935, allocations: 23.84 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.001993, allocations: 8 kB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.002035, allocations: 0 / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.002072, allocations: 11.98 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.002145, allocations: 4 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.002166, allocations: 0 / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.002226, allocations: 11.98 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.002241, allocations: 3.984 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.002257, allocations: 0 / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.002353, allocations: 23.91 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002355, allocations: 0 / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002356, allocations: 4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.00236, allocations: 0 / 1 GB, free: 12.68 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.000291/0.002651, allocations: 242.4 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.00269, allocations: 8.75 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.002721, allocations: 38.67 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.002832, allocations: 12.92 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.411e-05/0.002886, allocations: 105.8 kB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.002906, allocations: 4.375 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.002914, allocations: 384 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.003006, allocations: 42.25 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.003012, allocations: 192 / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.00302, allocations: 384 / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.003026, allocations: 4.125 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.003077, allocations: 15.98 kB / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.003185, allocations: 124.8 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.003292, allocations: 38.5 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.003319, allocations: 12.91 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.003334, allocations: 4 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.003352, allocations: 34.56 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.003353, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001532/0.003506, allocations: 61.61 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.003535, allocations: 55.34 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.268e-05/0.003558, allocations: 89.86 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.003572, allocations: 25.7 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.003589, allocations: 80.14 kB / 1.001 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.003615, allocations: 7.906 kB / 1.001 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.00364, allocations: 17.72 kB / 1.001 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.003712, allocations: 314.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.003734, allocations: 11.92 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.003752, allocations: 8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.003797, allocations: 25.12 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003799, allocations: 3.938 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.14e-05/0.00386, allocations: 57.59 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.003872, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.003877, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.003888, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.004093, allocations: 43.94 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008094/0.004903, allocations: 1.301 MB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.004919, allocations: 7.938 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.004924, allocations: 4.031 kB / 1.003 GB, free: 9.594 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 6.095e-05/0.004985, allocations: 110.6 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-06/0.00499, allocations: 128 / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-06/0.004998, allocations: 11.53 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004999, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.005, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005003, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.164e-05/0.005065, allocations: 132.7 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.005068, allocations: 4 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.005234, allocations: 51.92 kB / 1.003 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005235, allocations: 0 / 1.003 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005243, allocations: 0 / 1.003 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.005868, allocations: 1.305 MB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.00587, allocations: 3.938 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.005936, allocations: 73.17 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.005939, allocations: 4 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-06/0.005942, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.005954, allocations: 4 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.005972, allocations: 15.86 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.005975, allocations: 96 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.804e-05/0.005993, allocations: 79.28 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3e-08/0.005993, allocations: 0 / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001306/0.006124, allocations: 4 kB / 1.005 GB, free: 7.621 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 0.000249/0.006373, allocations: 0.6085 MB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.006619, allocations: 59.86 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006622, allocations: 4 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.006735, allocations: 35.95 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.886e-05/0.006834, allocations: 7.875 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.007161, allocations: 131.3 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.007192, allocations: 59.36 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.007213, allocations: 0 / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.007244, allocations: 16.48 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007244, allocations: 0 / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.02139, allocations: 1.895 MB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.768, allocations: 15.88 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/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: 12.00725567061454]