Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001737/0.001737, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001473/0.001473, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.7/2.7, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] 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.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_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.002029/0.002029, allocations: 66.59 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2956, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001669/0.2973, allocations: 0.5309 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.2974, allocations: 39.88 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.2975, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.2975, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2976, allocations: 11.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.016e-05/0.2977, allocations: 7.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.2977, allocations: 8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.2978, allocations: 3.984 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.2978, allocations: 7.984 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.2979, allocations: 11.92 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.2979, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.2979, allocations: 4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2979, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.298, allocations: 8 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.39e-05/0.298, allocations: 17.31 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.298, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.298, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.298, allocations: 3.938 kB / 1.285 GB, free: 10.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003817/0.2984, allocations: 257.9 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2984, allocations: 8.031 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.063e-05/0.2985, allocations: 4.125 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.2985, allocations: 34.75 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.2985, allocations: 0.9375 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.2987, allocations: 114.5 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.2987, allocations: 8.375 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2987, allocations: 4.375 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.357e-05/0.2988, allocations: 38 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2988, allocations: 4 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.2988, allocations: 0 / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2988, allocations: 0 / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.2988, allocations: 7.938 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.2989, allocations: 128.7 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.299, allocations: 18.58 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.299, allocations: 9 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.299, allocations: 4.062 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2991, allocations: 38.5 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2991, allocations: 0 / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.2992, allocations: 45.62 kB / 1.285 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2992, allocations: 55.41 kB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.2993, allocations: 105.8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2993, allocations: 29.7 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.2994, allocations: 84.14 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2994, allocations: 7.953 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2994, allocations: 17.7 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2996, allocations: 311 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.2996, allocations: 8 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.2996, allocations: 21.7 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.2997, allocations: 21.66 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2997, allocations: 0 / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.385e-05/0.2997, allocations: 45.69 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2997, allocations: 7.938 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2997, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2998, allocations: 4.125 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.2998, allocations: 7.984 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2998, allocations: 3.938 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.2999, allocations: 3.984 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.2999, allocations: 0 / 1.286 GB, free: 8.387 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 7.386e-05/0.2999, allocations: 109.8 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2999, allocations: 7.891 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.784e-05/0.3, allocations: 53.14 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3001, allocations: 7.969 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3002, allocations: 124.8 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3002, allocations: 3.984 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.3002, allocations: 4 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3002, allocations: 3.938 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3002, allocations: 3.938 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3002, allocations: 4.188 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3002, allocations: 0 / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3004, allocations: 85.11 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.3004, allocations: 11.92 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3004, allocations: 4.094 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.3004, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.3004, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3004, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.3005, allocations: 91.27 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3005, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001765/0.3007, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 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.0003985/0.3011, allocations: 0.6124 MB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.3011, allocations: 20.14 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3011, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.3012, allocations: 7.938 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3013, allocations: 3.938 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3023, allocations: 1.147 MB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.346e-05/0.3024, allocations: 63.34 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.3024, allocations: 7.938 kB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.3024, allocations: 11.44 kB / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3024, allocations: 128 / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.3328, allocations: 1.373 MB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.56, allocations: 8.766 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.082014331943356]