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.001467/0.001467, allocations: 113 kB / 18.94 MB, free: 2.934 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.001644/0.001644, allocations: 210.5 kB / 22.25 MB, free: 5.082 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 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 2.886/2.886, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001856/0.001856, allocations: 66.5 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2982, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001621/0.2998, allocations: 0.5328 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.3, allocations: 15.97 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.3, allocations: 0 / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.3, allocations: 3.938 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3002, allocations: 0 / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.3002, allocations: 0 / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.3002, allocations: 7.984 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.3003, allocations: 0 / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.3003, allocations: 8 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.3003, allocations: 3.938 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3003, allocations: 0 / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-06/0.3003, allocations: 3.938 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3004, allocations: 0 / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.3004, allocations: 15.98 kB / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 4.43e-05/0.3004, allocations: 0 / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3004, allocations: 0 / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3004, allocations: 0 / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3004, allocations: 3.984 kB / 1.353 GB, free: 7.887 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003037/0.3007, allocations: 242.7 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3008, allocations: 12.03 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.3008, allocations: 30.75 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.863e-05/0.3008, allocations: 0.9375 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.3009, allocations: 114.5 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3009, allocations: 4.312 kB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.3009, allocations: 384 / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3011, allocations: 44.33 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3011, allocations: 7.938 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3011, allocations: 3.984 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3011, allocations: 0 / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.3011, allocations: 4 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.3012, allocations: 129.7 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.3013, allocations: 41.09 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.3013, allocations: 17.84 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3013, allocations: 3.938 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3014, allocations: 30.56 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3014, allocations: 0 / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.3015, allocations: 53.56 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3016, allocations: 77.36 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.3016, allocations: 93.86 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3016, allocations: 29.7 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.3017, allocations: 80.14 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3017, allocations: 11.94 kB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.3017, allocations: 13.66 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3018, allocations: 314.8 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.3018, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.3019, allocations: 21.84 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.3019, allocations: 13.72 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3019, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.394e-05/0.302, allocations: 45.62 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.302, allocations: 11.94 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.302, allocations: 0 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.302, allocations: 128 / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.302, allocations: 8 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3021, allocations: 0 / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.3021, allocations: 0 / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3021, allocations: 4 kB / 1.355 GB, free: 6.219 MB / 1.045 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 7.599e-05/0.3022, allocations: 113.8 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.3022, allocations: 3.938 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.811e-05/0.3023, allocations: 52.62 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3023, allocations: 7.938 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3023, allocations: 0 / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3023, allocations: 0 / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.3024, allocations: 124.7 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3024, allocations: 0 / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.3024, allocations: 11.92 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3024, allocations: 7.938 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.3024, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3024, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3024, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.3025, allocations: 78 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3025, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3025, allocations: 3.938 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.3025, allocations: 4 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.3025, allocations: 0 / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.3025, allocations: 0 / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.3026, allocations: 87.25 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.3026, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001732/0.3028, allocations: 7.938 kB / 1.355 GB, free: 5.645 MB / 1.045 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.0003794/0.3031, allocations: 0.5978 MB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.3032, allocations: 15.92 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3032, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.3032, allocations: 8 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.3033, allocations: 0 / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.3036, allocations: 115.6 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.3039, allocations: 0.6731 MB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.3039, allocations: 4 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3039, allocations: 7.438 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/0.3039, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.3288, allocations: 1.04 MB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.1, allocations: 6.766 kB / 1.358 GB, free: 3.207 MB / 1.045 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.100461676000123]