Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.0007434/0.0007434, 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.0007562/0.0007562, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8217/0.8217, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.675/1.675, allocations: 389 MB / 0.633 GB, free: 12.66 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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.484e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0009469/0.0009617, allocations: 0.5286 MB / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.0011, allocations: 39.81 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.00115, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.001178, allocations: 3.938 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.001319, allocations: 15.81 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.656e-05/0.001365, allocations: 4 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.001426, allocations: 15.97 kB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.001464, allocations: 0 / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.001518, allocations: 11.92 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.00158, allocations: 8 kB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.001602, allocations: 0 / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.001609, allocations: 4 kB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.001657, allocations: 7.984 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.001676, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.877e-05/0.001735, allocations: 11.92 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.001738, allocations: 3.984 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.001739, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.001743, allocations: 0 / 1 GB, free: 12.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003067/0.00205, allocations: 250.4 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.002088, allocations: 12.75 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.002116, allocations: 34.69 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.002135, allocations: 4.938 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.002261, allocations: 121.7 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.002268, allocations: 4.375 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.002282, allocations: 384 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.034e-05/0.002342, allocations: 30.27 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.002349, allocations: 4.172 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.002355, allocations: 384 / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00236, allocations: 4.125 kB / 1.001 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.485e-05/0.002375, allocations: 4 kB / 1.001 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.002621, allocations: 124.8 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.002659, allocations: 26.55 kB / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.002674, allocations: 8.922 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.002687, allocations: 0 / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.002705, allocations: 34.56 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.002707, allocations: 3.984 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.002826, allocations: 45.67 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.002854, allocations: 63.28 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.002916, allocations: 109.8 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.002924, allocations: 25.7 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.002952, allocations: 80.14 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.002971, allocations: 8.078 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.002996, allocations: 17.72 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.003071, allocations: 314.8 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.003082, allocations: 7.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.003102, allocations: 21.66 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.003134, allocations: 21.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003136, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.601e-05/0.003182, allocations: 49.62 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.003196, allocations: 12.12 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.003201, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.003211, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.003271, allocations: 7.938 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.003276, allocations: 0 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.003288, allocations: 0 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.003295, allocations: 7.984 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.003341, allocations: 105.8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.003346, allocations: 11.89 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.003416, allocations: 45.16 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.00342, allocations: 8.031 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.003425, allocations: 3.938 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.003428, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.359e-05/0.003491, allocations: 124.8 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.003492, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.003524, allocations: 7.984 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.003525, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.003531, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.003533, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.003535, allocations: 3.938 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.003618, allocations: 77.06 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.003636, allocations: 15.97 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.003646, allocations: 0 / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.003654, allocations: 256 / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.003667, allocations: 11.94 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.003669, allocations: 4 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.003698, allocations: 87.27 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003698, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001192/0.003817, allocations: 4 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.004027, allocations: 0.6087 MB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.012e-05/0.004087, allocations: 15.98 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004088, allocations: 3.938 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.004097, allocations: 8 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.969e-05/0.004196, allocations: 7.875 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.004802, allocations: 1.151 MB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.004839, allocations: 71.27 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.004856, allocations: 8.234 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.004887, allocations: 16.5 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of SimCode: time 2.7e-07/0.004887, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.01793, allocations: 1.837 MB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.438/6.456, allocations: 2.234 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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: 10.190962904132903]