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.001508/0.001508, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001715/0.001715, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.006/3.006, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",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.00187/0.00187, allocations: 65.89 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2931, allocations: 179 MB / 1.345 GB, free: 28 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001584/0.2947, allocations: 0.5251 MB / 1.346 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.2949, allocations: 48.16 kB / 1.346 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.2949, allocations: 0 / 1.346 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.2949, allocations: 4 kB / 1.346 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2951, allocations: 7.938 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.976e-05/0.2951, allocations: 3.984 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.2952, allocations: 15.98 kB / 1.346 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.2952, allocations: 0 / 1.346 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.2953, allocations: 11.92 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.2953, allocations: 7.938 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2953, allocations: 0 / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.2953, allocations: 4 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.2954, allocations: 11.98 kB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.2954, allocations: 3.938 kB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 5.637e-05/0.2955, allocations: 12.2 kB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2955, allocations: 0 / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2955, allocations: 4 kB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2955, allocations: 0 / 1.346 GB, free: 15.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003854/0.2959, allocations: 258.3 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2959, allocations: 8.031 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.2959, allocations: 4.188 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.2959, allocations: 34.75 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.296, allocations: 12.89 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2961, allocations: 110.5 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2961, allocations: 4.375 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2961, allocations: 8.312 kB / 1.346 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.874e-05/0.2962, allocations: 33.95 kB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.2962, allocations: 4 kB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.2962, allocations: 3.984 kB / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2962, allocations: 0 / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.469e-05/0.2962, allocations: 0 / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2964, allocations: 128.8 kB / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.2964, allocations: 18.58 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.2964, allocations: 8.922 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2965, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2965, allocations: 42.44 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.2965, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.2966, allocations: 49.62 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2967, allocations: 51.41 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.2967, allocations: 109.8 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2968, allocations: 25.7 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.2968, allocations: 92.2 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2968, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.2969, allocations: 9.719 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.297, allocations: 318.8 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.297, allocations: 4 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.297, allocations: 17.72 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.2971, allocations: 25.64 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2971, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.789e-05/0.2972, allocations: 57.64 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2972, allocations: 7.938 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2972, allocations: 0 / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2972, allocations: 0 / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.2972, allocations: 4 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2972, allocations: 0 / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.2973, allocations: 4 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2973, allocations: 3.984 kB / 1.347 GB, free: 13.73 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 0.0001439/0.2974, allocations: 109.8 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2974, allocations: 3.938 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2975, allocations: 57.16 kB / 1.347 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2975, allocations: 0 / 1.347 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2975, allocations: 7.922 kB / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2975, allocations: 0 / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2977, allocations: 129 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2977, allocations: 4 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.2978, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.2978, allocations: 11.92 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2978, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2978, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2978, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2979, allocations: 85.14 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.2979, allocations: 7.922 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.2979, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.298, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.298, allocations: 3.938 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.298, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.298, allocations: 91.27 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.298, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001731/0.2982, allocations: 4 kB / 1.348 GB, free: 13.13 MB / 1.045 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.0004554/0.2987, allocations: 0.6125 MB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.2987, allocations: 15.92 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2988, allocations: 3.938 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.2988, allocations: 4 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.2989, allocations: 4 kB / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3001, allocations: 1.155 MB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.3001, allocations: 63.62 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.3001, allocations: 8 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3002, allocations: 11.42 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3002, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.3221, allocations: 1.371 MB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.05, allocations: 6.312 kB / 1.351 GB, free: 9.887 MB / 1.045 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.253692649072036]