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.001856/0.001856, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.0015/0.0015, allocations: 213.5 kB / 22.25 MB, free: 5.242 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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 3.542/3.542, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 72.34 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4525, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002396/0.4548, allocations: 0.594 MB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004066/0.4553, allocations: 100.1 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.4553, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.4553, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.4553, allocations: 4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.4556, allocations: 11.92 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.4557, allocations: 8 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.4557, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.475e-05/0.4558, allocations: 7.984 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.4558, allocations: 4 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.4559, allocations: 3.984 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.4559, allocations: 11.98 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.456, allocations: 4 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.456, allocations: 3.938 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.4561, allocations: 16.2 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4561, allocations: 0 / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.416e-06/0.4561, allocations: 0 / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.4561, allocations: 4 kB / 1.364 GB, free: 13.33 MB / 1.061 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.0004163/0.4565, allocations: 238.5 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4566, allocations: 12.03 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.4566, allocations: 30.75 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.4568, allocations: 8.922 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4569, allocations: 114.4 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4569, allocations: 8.375 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4569, allocations: 8.297 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.4571, allocations: 38.23 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4571, allocations: 3.938 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4571, allocations: 4 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4571, allocations: 4 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.4572, allocations: 11.98 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.4574, allocations: 120.8 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4576, allocations: 50.53 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.4576, allocations: 16.86 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.4576, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4577, allocations: 30.56 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4577, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002432/0.4579, allocations: 57.61 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4579, allocations: 55.41 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.458, allocations: 89.86 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.458, allocations: 29.64 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4581, allocations: 80.14 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.4581, allocations: 15.94 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.4582, allocations: 13.72 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4583, allocations: 310.8 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.4583, allocations: 11.98 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.4584, allocations: 4 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.4585, allocations: 24.84 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4585, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001191/0.4586, allocations: 49.64 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4586, allocations: 8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4586, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4586, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.459, allocations: 47.86 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4605, allocations: 1.297 MB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.4605, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.4605, allocations: 3.984 kB / 1.367 GB, free: 10.25 MB / 1.061 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 0.0001013/0.4606, allocations: 125.9 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.4606, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.4607, allocations: 3.531 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4607, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.4607, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4607, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.4608, allocations: 132.7 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4608, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.4611, allocations: 47.94 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4611, allocations: 0 / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4612, allocations: 7.938 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.4625, allocations: 1.301 MB / 1.368 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4625, allocations: 7.938 kB / 1.368 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.4626, allocations: 73.11 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.4626, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.4626, allocations: 3.938 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.4627, allocations: 4.125 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.4627, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4627, allocations: 4 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.4627, allocations: 75.28 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4627, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001998/0.4629, allocations: 4 kB / 1.369 GB, free: 8.273 MB / 1.061 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.0005696/0.4635, allocations: 0.6124 MB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.464, allocations: 63.91 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.464, allocations: 0 / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4642, allocations: 43.89 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.4644, allocations: 5.547 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.465, allocations: 126.5 kB / 1.369 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.4651, allocations: 59.34 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.4651, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.4651, allocations: 11.44 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of SimCode: time 5.62e-07/0.4651, allocations: 0 / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.4956, allocations: 1.765 MB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.3, allocations: 11.17 kB / 1.371 GB, free: 5.641 MB / 1.061 GB " [Timeout remaining time 287] (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/jenkins1/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: 20.7565909139812]