Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.00141/0.00141, allocations: 109 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.001407/0.001407, allocations: 185.9 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.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.316 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.458/2.458, allocations: 476.7 MB / 0.7628 GB, free: 15.25 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7644, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002272/0.7666, allocations: 1.628 MB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.7678, allocations: 0.9255 MB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.7678, allocations: 4.844 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.7678, allocations: 6.797 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.768, allocations: 26.06 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.7683, allocations: 137.7 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.7684, allocations: 77.62 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.7685, allocations: 21.52 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.7686, allocations: 27.61 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.7687, allocations: 37.64 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.7687, allocations: 4.562 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.769, allocations: 283.3 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.769, allocations: 13.72 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.7691, allocations: 28.59 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.7693, allocations: 155.8 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.7693, allocations: 0 / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7693, allocations: 0.8125 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.7693, allocations: 4 kB / 1.275 GB, free: 5.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004197/0.7697, allocations: 411.3 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.7697, allocations: 9.656 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.7698, allocations: 34.36 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.7699, allocations: 15.11 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.77, allocations: 193.5 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.77, allocations: 6.25 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.77, allocations: 2.75 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.7702, allocations: 63.27 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7702, allocations: 3.938 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.7702, allocations: 4.656 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7702, allocations: 0.7812 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.7703, allocations: 41.23 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.7707, allocations: 303.7 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7708, allocations: 48.67 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.7709, allocations: 30.97 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.7709, allocations: 4.625 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.7709, allocations: 35.41 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.7709, allocations: 0 / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003174/0.7712, allocations: 106.1 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.7712, allocations: 56.53 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.7713, allocations: 129 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.7713, allocations: 26.52 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.7713, allocations: 94.25 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.7713, allocations: 22.08 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.7714, allocations: 22.11 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.7714, allocations: 321.9 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.7715, allocations: 20.72 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.7715, allocations: 25.69 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.7717, allocations: 50.89 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7717, allocations: 4 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001901/0.7719, allocations: 93.33 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7719, allocations: 7.219 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.7719, allocations: 0 / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7719, allocations: 1.219 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.772, allocations: 15.75 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.772, allocations: 4.688 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.7721, allocations: 7.25 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.7721, allocations: 9.625 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.365e-05/0.7721, allocations: 118.1 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.7722, allocations: 7.922 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.7724, allocations: 99.06 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7724, allocations: 0.9062 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.7724, allocations: 0 / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7724, allocations: 1.547 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.7725, allocations: 192 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7725, allocations: 1 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.7726, allocations: 20.69 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7726, allocations: 1.781 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.7726, allocations: 2.109 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7726, allocations: 0 / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7726, allocations: 0.875 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.7728, allocations: 195 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.7728, allocations: 85.92 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7728, allocations: 0.7188 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.7729, allocations: 3.531 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.7729, allocations: 8.891 kB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7729, allocations: 5.531 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.773, allocations: 101.5 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.773, allocations: 0 / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002269/0.7732, allocations: 26.98 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0004003/0.7736, allocations: 0.7392 MB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.7738, allocations: 51.69 kB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7738, allocations: 4 kB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.7739, allocations: 29.67 kB / 1.278 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.7741, allocations: 17.97 kB / 1.278 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.7753, allocations: 1.46 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7756, allocations: 0.6931 MB / 1.281 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.7756, allocations: 6.266 kB / 1.281 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.7757, allocations: 23.72 kB / 1.281 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7757, allocations: 0 / 1.281 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.7994, allocations: 2.307 MB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.697, allocations: 7.656 kB / 1.283 GB, free: 15.82 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.904298037999979]