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.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.001462/0.001462, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001432/0.001432, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 59.91 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8354, allocations: 168.7 MB / 1.271 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001523/0.8369, allocations: 0.5385 MB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.8371, allocations: 48.22 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.8371, allocations: 0.8438 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.8371, allocations: 3.938 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.8373, allocations: 1.406 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.393e-05/0.8373, allocations: 15.14 kB / 1.272 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.8374, allocations: 13.31 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.8374, allocations: 1.656 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.8375, allocations: 5.672 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.8375, allocations: 14.12 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.8376, allocations: 1.094 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.8376, allocations: 0.8438 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.8376, allocations: 3.234 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.8376, allocations: 8.766 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.211e-05/0.8377, allocations: 12.66 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8377, allocations: 4.75 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8377, allocations: 0 / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8377, allocations: 0 / 1.272 GB, free: 7.004 MB / 0.9981 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.0003418/0.8381, allocations: 335.5 kB / 1.272 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8381, allocations: 9.781 kB / 1.272 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.8381, allocations: 30.75 kB / 1.272 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.8381, allocations: 7.156 kB / 1.272 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.8383, allocations: 172.8 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8383, allocations: 8.281 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.8383, allocations: 5.062 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.8384, allocations: 32.55 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8384, allocations: 4.453 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.8384, allocations: 0.8125 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8384, allocations: 3.984 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.8384, allocations: 4.016 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.8385, allocations: 152.6 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.8386, allocations: 26.62 kB / 1.273 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.8386, allocations: 11.03 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.8386, allocations: 0.7188 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.8386, allocations: 31.91 kB / 1.273 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8386, allocations: 0.7188 kB / 1.273 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.8387, allocations: 47.88 kB / 1.273 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.8388, allocations: 52.69 kB / 1.273 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.8388, allocations: 114 kB / 1.273 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.8388, allocations: 26.67 kB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.8389, allocations: 84.7 kB / 1.273 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.8389, allocations: 9.234 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.8389, allocations: 16.59 kB / 1.273 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.839, allocations: 317.5 kB / 1.273 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.839, allocations: 5.016 kB / 1.273 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.839, allocations: 18.36 kB / 1.273 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.839, allocations: 22.38 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.839, allocations: 3.938 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.313e-05/0.8391, allocations: 46.56 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8391, allocations: 8.906 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.8391, allocations: 0.8438 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8391, allocations: 1.375 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.8392, allocations: 3.812 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8392, allocations: 5.703 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.8392, allocations: 1.516 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.8392, allocations: 4.906 kB / 1.274 GB, free: 5.352 MB / 0.9981 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 4.291e-05/0.8393, allocations: 109.5 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.8393, allocations: 5.25 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.8394, allocations: 49.08 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.8394, allocations: 4.656 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8394, allocations: 0.7812 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8394, allocations: 4.688 kB / 1.274 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.64e-05/0.8394, allocations: 155.5 kB / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.8394, allocations: 0 / 1.274 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.8395, allocations: 7.891 kB / 1.274 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8395, allocations: 5.281 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.8395, allocations: 4.25 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8395, allocations: 0 / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8395, allocations: 0.5625 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.8396, allocations: 85.22 kB / 1.274 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.8396, allocations: 80.5 kB / 1.274 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.8397, allocations: 5.906 kB / 1.274 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.8397, allocations: 0 / 1.274 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.8397, allocations: 6 kB / 1.274 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8397, allocations: 1 kB / 1.274 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.8397, allocations: 88.88 kB / 1.274 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8397, allocations: 0 / 1.274 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001676/0.8399, allocations: 3.156 kB / 1.274 GB, free: 4.746 MB / 0.9981 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.0002626/0.8402, allocations: 0.625 MB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.8402, allocations: 12.03 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8402, allocations: 0 / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.498e-05/0.8402, allocations: 6.828 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8404, allocations: 17.22 kB / 1.275 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.8412, allocations: 1.148 MB / 1.276 GB, free: 19.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.8415, allocations: 0.6788 MB / 1.277 GB, free: 18.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.8415, allocations: 2.328 kB / 1.277 GB, free: 18.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.8415, allocations: 13.73 kB / 1.277 GB, free: 18.32 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.8415, allocations: 0 / 1.277 GB, free: 18.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.866, allocations: 1.181 MB / 1.278 GB, free: 17.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.907, allocations: 6.719 kB / 1.278 GB, free: 17.97 MB / 1.014 GB " [Timeout remaining time 292] (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 --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] "" Variables in the reference:time,c Variables in the result:a[1],a[2],a[3],b,c,der(c),efficient,time [Calling sys.exit(0), Time elapsed: 13.278831853000156]