Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.84 kB / 1.059 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001724/0.2745, allocations: 0.5407 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.2747, allocations: 39.88 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.2748, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.2748, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.2749, allocations: 15.92 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.275, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.275, allocations: 11.92 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.2751, allocations: 3.938 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.2751, allocations: 8 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.2752, allocations: 7.984 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2752, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2752, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.2753, allocations: 7.922 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2753, allocations: 4 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.673e-05/0.2754, allocations: 20.2 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2754, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 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.0004388/0.2758, allocations: 331.4 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2759, allocations: 8.031 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.2759, allocations: 30.75 kB / 1.217 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2759, allocations: 8.875 kB / 1.217 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.2761, allocations: 180.3 kB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2761, allocations: 8.312 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2761, allocations: 384 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.2762, allocations: 34.25 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2762, allocations: 3.938 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.2762, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2762, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.2763, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2764, allocations: 153.7 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.2765, allocations: 30.5 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.2765, allocations: 8.797 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.2765, allocations: 0 / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2765, allocations: 38.62 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2765, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.2767, allocations: 49.56 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.2767, allocations: 51.41 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.2768, allocations: 118 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2768, allocations: 25.7 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.2769, allocations: 84.14 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2769, allocations: 4 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2769, allocations: 13.66 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.277, allocations: 318.8 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.277, allocations: 3.984 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.2771, allocations: 17.72 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.2771, allocations: 21.7 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2771, allocations: 0 / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.894e-05/0.2772, allocations: 53.58 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2772, allocations: 11.94 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2772, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2772, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.2773, allocations: 4.125 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2773, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.2773, allocations: 0 / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2773, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 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.464e-05/0.2774, allocations: 109.8 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2774, allocations: 7.938 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.2775, allocations: 49.16 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2775, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2775, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2775, allocations: 8.031 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2776, allocations: 157.7 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2776, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.2777, allocations: 12.17 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2777, allocations: 3.938 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2777, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2777, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2777, allocations: 3.938 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2778, allocations: 89.02 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.2779, allocations: 81.09 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2779, allocations: 3.938 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.2779, allocations: 4.031 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2779, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2779, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.278, allocations: 91.27 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.278, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001812/0.2782, allocations: 4 kB / 1.218 GB, free: 12.73 MB / 0.9669 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.0003924/0.2786, allocations: 0.6125 MB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.2786, allocations: 15.92 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2786, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.2787, allocations: 8.219 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2788, allocations: 8.062 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.2798, allocations: 1.15 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.28, allocations: 0.6768 MB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2801, allocations: 11.92 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.2801, allocations: 7.438 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.2801, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3048, allocations: 1.191 MB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.589, allocations: 13.75 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.918304275997798]