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.002003/0.002003, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001829/0.001829, allocations: 216.2 kB / 23.04 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.326/3.326, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",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.00203/0.00203, allocations: 64.69 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4322, allocations: 179 MB / 1.345 GB, free: 400 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001957/0.4342, allocations: 0.6069 MB / 1.346 GB, free: 15.78 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003201/0.4345, allocations: 96.14 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.4345, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.4346, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.4346, allocations: 0 / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.4348, allocations: 23.91 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.4349, allocations: 8 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.4349, allocations: 3.984 kB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.4349, allocations: 8 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.435, allocations: 0 / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.435, allocations: 3.938 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.4351, allocations: 19.92 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.4351, allocations: 0 / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4351, allocations: 4 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.4352, allocations: 20.19 kB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4352, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4352, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4352, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 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.0003366/0.4356, allocations: 242.5 kB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4356, allocations: 8.031 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.4356, allocations: 8.125 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.4356, allocations: 34.75 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.4358, allocations: 16.81 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.4359, allocations: 110.5 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4359, allocations: 384 / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4359, allocations: 4.375 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4361, allocations: 46 kB / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4361, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4361, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4361, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.4362, allocations: 11.98 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.4363, allocations: 124.8 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.4365, allocations: 42.5 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.4366, allocations: 16.91 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.4366, allocations: 4 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4366, allocations: 34.5 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4366, allocations: 0 / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002231/0.4368, allocations: 57.61 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.4369, allocations: 59.41 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.4369, allocations: 89.86 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4369, allocations: 25.7 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.437, allocations: 80.14 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.437, allocations: 3.953 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.437, allocations: 17.72 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4372, allocations: 314.8 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.4372, allocations: 4 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.4373, allocations: 16.16 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.813e-05/0.4373, allocations: 20.86 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4373, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001214/0.4375, allocations: 53.61 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4375, allocations: 7.938 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4375, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4375, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.4379, allocations: 51.88 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4393, allocations: 1.297 MB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.4394, allocations: 8.156 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4394, allocations: 7.938 kB / 1.349 GB, free: 12.5 MB / 1.045 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 9.814e-05/0.4395, allocations: 110.4 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.4395, allocations: 3.953 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.4395, allocations: 15.52 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4395, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4395, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4395, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.4396, allocations: 124.7 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4396, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.44, allocations: 47.92 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.44, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.44, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.4413, allocations: 1.309 MB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4413, allocations: 0 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.4415, allocations: 73.14 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.4415, allocations: 8.031 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-06/0.4415, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.4415, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.4415, allocations: 7.938 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.4415, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.4416, allocations: 75.28 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4416, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001945/0.4418, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.045 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.0004543/0.4422, allocations: 0.6085 MB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.4427, allocations: 67.84 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4427, allocations: 0 / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.4429, allocations: 39.94 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.4431, allocations: 0 / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.4435, allocations: 128.4 kB / 1.351 GB, free: 9.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4438, allocations: 0.6806 MB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.4439, allocations: 0 / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.4439, allocations: 15.38 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/0.4439, allocations: 7.938 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.4659, allocations: 1.361 MB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.14, allocations: 6.125 kB / 1.353 GB, free: 7.68 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.13399527198635]