Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001037/0.001037, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007509/0.0007509, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8338/0.8338, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.704/1.704, 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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.344e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001602/0.001626, allocations: 0.5208 MB / 1 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.00177, allocations: 23.86 kB / 1 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.001797, allocations: 0 / 1 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.001814, allocations: 3.938 kB / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.001956, allocations: 0 / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.097e-06/0.00196, allocations: 0 / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.002011, allocations: 7.984 kB / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.002049, allocations: 4 kB / 1 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.002098, allocations: 7.938 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.00213, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.002144, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-06/0.002149, allocations: 4 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.002159, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.213e-05/0.002171, allocations: 0 / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 4.636e-05/0.002218, allocations: 7.984 kB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00222, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.002221, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002224, allocations: 0 / 1 GB, free: 12.94 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002092/0.002434, allocations: 238.4 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.002471, allocations: 16.69 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.002499, allocations: 34.75 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.002516, allocations: 0.9375 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.002579, allocations: 109.8 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002588, allocations: 4.375 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.002595, allocations: 384 / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.002678, allocations: 43.97 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.002684, allocations: 4.125 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.002691, allocations: 384 / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.002696, allocations: 4.125 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.002716, allocations: 11.94 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.002826, allocations: 125.6 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.002867, allocations: 37.25 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.002884, allocations: 17.66 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.002904, allocations: 4.062 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.002922, allocations: 30.56 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.002923, allocations: 0 / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.003039, allocations: 49.58 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.003073, allocations: 85.05 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.003113, allocations: 89.86 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.003121, allocations: 25.7 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.003138, allocations: 80.52 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.003159, allocations: 12 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.003181, allocations: 13.67 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.003247, allocations: 318.8 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.003255, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.003269, allocations: 25.66 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.003295, allocations: 17.66 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003296, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.879e-05/0.003335, allocations: 41.81 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.003347, allocations: 15.94 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.003351, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.003362, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.003421, allocations: 7.938 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.003425, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.003437, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.003443, allocations: 4 kB / 1.002 GB, free: 11.27 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.482e-05/0.003488, allocations: 105.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-06/0.003491, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.00357, allocations: 56.62 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003572, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.003578, allocations: 7.922 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.00358, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.609e-05/0.003636, allocations: 124.7 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.003637, allocations: 0 / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.00365, allocations: 4 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.003651, allocations: 0 / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.00366, allocations: 0 / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.003662, allocations: 4 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.003665, allocations: 11.98 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.753e-05/0.003713, allocations: 65.94 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.003743, allocations: 4 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.003752, allocations: 3.984 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.003759, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.003772, allocations: 7.938 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.003774, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.003794, allocations: 75.28 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.003794, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001157/0.00391, allocations: 4.125 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000203/0.004113, allocations: 0.6054 MB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.745e-05/0.00417, allocations: 8 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004172, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.004178, allocations: 7.984 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.00428, allocations: 13.59 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.004505, allocations: 111.4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.004538, allocations: 63.62 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.004555, allocations: 4 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.004576, allocations: 12.44 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.004576, allocations: 0 / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.01718, allocations: 1.555 MB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/6.26, allocations: 7.438 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.18513063993305]