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.001695/0.001695, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001868/0.001868, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] 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.596/2.596, allocations: 443.5 MB / 0.7287 GB, free: 14.51 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.001952/0.001952, allocations: 67.88 kB / 1.056 GB, free: 2.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001613/0.279, allocations: 0.5273 MB / 1.213 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001699/0.2792, allocations: 51.86 kB / 1.213 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.2792, allocations: 0 / 1.213 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.2792, allocations: 3.938 kB / 1.213 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.2794, allocations: 0 / 1.213 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.59e-05/0.2794, allocations: 7.984 kB / 1.213 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.2795, allocations: 15.88 kB / 1.213 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.2795, allocations: 7.984 kB / 1.213 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.2796, allocations: 4 kB / 1.214 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.2796, allocations: 4 kB / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2796, allocations: 0 / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.2796, allocations: 4 kB / 1.214 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.2797, allocations: 11.91 kB / 1.214 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.2797, allocations: 8 kB / 1.214 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 5.846e-05/0.2798, allocations: 12.2 kB / 1.214 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2798, allocations: 0 / 1.214 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2798, allocations: 3.938 kB / 1.214 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2798, allocations: 0 / 1.214 GB, free: 0.793 MB / 0.9512 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.0004683/0.2802, allocations: 335.4 kB / 1.214 GB, free: 424 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2803, allocations: 12.03 kB / 1.214 GB, free: 412 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.2803, allocations: 34.73 kB / 1.214 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.2803, allocations: 4.891 kB / 1.214 GB, free: 364 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2805, allocations: 180.3 kB / 1.214 GB, free: 144 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.2805, allocations: 384 / 1.214 GB, free: 144 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2806, allocations: 384 / 1.214 GB, free: 144 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.2806, allocations: 34.25 kB / 1.214 GB, free: 104 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2806, allocations: 7.938 kB / 1.214 GB, free: 96 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.2806, allocations: 0 / 1.214 GB, free: 96 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2806, allocations: 0 / 1.214 GB, free: 96 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.2807, allocations: 4 kB / 1.214 GB, free: 92 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.2808, allocations: 153.7 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.2809, allocations: 30.45 kB / 1.214 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.2809, allocations: 8.844 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2809, allocations: 0 / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.281, allocations: 38.62 kB / 1.214 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.281, allocations: 0 / 1.214 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.2811, allocations: 45.58 kB / 1.214 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2811, allocations: 51.41 kB / 1.214 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.2812, allocations: 113.8 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2812, allocations: 29.7 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.2813, allocations: 80.14 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.2813, allocations: 16.09 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2813, allocations: 13.72 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2815, allocations: 314.8 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.2815, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.2815, allocations: 17.7 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.2815, allocations: 25.78 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2815, allocations: 0 / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.875e-05/0.2816, allocations: 49.58 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2816, allocations: 11.94 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2816, allocations: 0 / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2817, allocations: 3.984 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.2817, allocations: 4 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2817, allocations: 0 / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.2817, allocations: 0 / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2817, allocations: 4 kB / 1.215 GB, free: 14.96 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 8.11e-05/0.2818, allocations: 113.9 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.2818, allocations: 3.938 kB / 1.215 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2819, allocations: 61.08 kB / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2819, allocations: 0 / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2819, allocations: 0 / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2819, allocations: 0 / 1.215 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2821, allocations: 157.7 kB / 1.215 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2821, allocations: 0 / 1.215 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.2821, allocations: 4.25 kB / 1.215 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2821, allocations: 7.969 kB / 1.215 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.2821, allocations: 4 kB / 1.215 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2821, allocations: 3.938 kB / 1.215 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2821, allocations: 0 / 1.215 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2823, allocations: 85 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.2823, allocations: 77.11 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2823, allocations: 7.922 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.2823, allocations: 8.125 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.2824, allocations: 0 / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2824, allocations: 0 / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.2824, allocations: 91.27 kB / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2824, allocations: 0 / 1.216 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001783/0.2826, allocations: 4 kB / 1.216 GB, free: 14.23 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.0004153/0.283, allocations: 0.6163 MB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.2831, allocations: 8 kB / 1.216 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2831, allocations: 0 / 1.216 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.2831, allocations: 15.98 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2832, allocations: 1.562 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2843, allocations: 1.158 MB / 1.217 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2846, allocations: 0.6807 MB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.582e-05/0.2846, allocations: 0 / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2846, allocations: 15.44 kB / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.2846, allocations: 0 / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.3088, allocations: 1.198 MB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.29, allocations: 13.25 kB / 1.219 GB, free: 10.46 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.085102564655244]