Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001306/0.001306, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001502/0.001502, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_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.002091/0.002091, allocations: 73.42 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 169.9 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001864/0.3181, allocations: 0.5348 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.3183, allocations: 15.92 kB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.3183, allocations: 0 / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.3183, allocations: 0 / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3185, allocations: 4 kB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.3185, allocations: 0 / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.3185, allocations: 7.922 kB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.3186, allocations: 8 kB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.3186, allocations: 3.984 kB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.3186, allocations: 3.938 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3187, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.3187, allocations: 4 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.3187, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.3187, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.745e-05/0.3187, allocations: 7.453 kB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3187, allocations: 0 / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3187, allocations: 3.938 kB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3187, allocations: 0 / 1.283 GB, free: 11.95 MB / 0.9825 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.0003332/0.3191, allocations: 246.5 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3191, allocations: 8.031 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.3192, allocations: 30.75 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.3192, allocations: 4.875 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3193, allocations: 106.5 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3193, allocations: 384 / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.3193, allocations: 384 / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3194, allocations: 47.97 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3195, allocations: 3.938 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3195, allocations: 4 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3195, allocations: 4 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.3195, allocations: 3.938 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.3197, allocations: 129.6 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.3197, allocations: 33.22 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.3198, allocations: 21.78 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3198, allocations: 0 / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3198, allocations: 30.56 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.3198, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.32, allocations: 57.77 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.32, allocations: 81.11 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.3201, allocations: 93.86 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3201, allocations: 25.7 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.3202, allocations: 80.14 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3202, allocations: 9.625 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3202, allocations: 21.7 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3204, allocations: 310.8 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.3204, allocations: 0 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.3204, allocations: 13.81 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.3204, allocations: 25.84 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3204, allocations: 4 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.191e-05/0.3205, allocations: 37.69 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3205, allocations: 7.938 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3205, allocations: 0 / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3205, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.3206, allocations: 11.94 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3206, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.3206, allocations: 4.062 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3206, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 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.876e-05/0.3207, allocations: 117.8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3207, allocations: 11.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3208, allocations: 44.64 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3209, allocations: 3.984 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3209, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3209, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.321, allocations: 112.8 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.321, allocations: 4.062 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.321, allocations: 4 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.321, allocations: 3.938 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.321, allocations: 4 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.321, allocations: 3.984 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.321, allocations: 0 / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.3211, allocations: 77.92 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.3211, allocations: 7.922 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3212, allocations: 3.938 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.3212, allocations: 4 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.3212, allocations: 4.031 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3212, allocations: 0 / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.3212, allocations: 79.28 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3212, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001795/0.3214, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 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.0004334/0.3218, allocations: 0.6072 MB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/0.3219, allocations: 8 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3219, allocations: 4.25 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.3219, allocations: 11.92 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.3221, allocations: 0 / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3224, allocations: 115.6 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.3224, allocations: 59.34 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.3225, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.3225, allocations: 11.44 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3225, allocations: 0 / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3498, allocations: 1.435 MB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.35, allocations: 5.219 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.0101195150055]