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.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.001529/0.001529, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001605/0.001605, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.801/2.801, allocations: 476.7 MB / 0.7678 GB, free: 9.57 MB / 0.6075 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.002428/0.002428, allocations: 71.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003371/1.067, allocations: 1.634 MB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001784/1.068, allocations: 1.005 MB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/1.068, allocations: 5.062 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/1.068, allocations: 5.297 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/1.069, allocations: 22.48 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/1.069, allocations: 156.8 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/1.069, allocations: 81.02 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/1.069, allocations: 15.75 kB / 1.282 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/1.07, allocations: 43.38 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/1.07, allocations: 32.14 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/1.07, allocations: 4.219 kB / 1.282 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/1.07, allocations: 295.6 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/1.07, allocations: 13.16 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/1.07, allocations: 30.52 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/1.071, allocations: 160.1 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.071, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.071, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.071, allocations: 5.125 kB / 1.282 GB, free: 9.574 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.0006392/1.071, allocations: 415.8 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.071, allocations: 9.875 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.408e-05/1.071, allocations: 5.375 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/1.071, allocations: 33.19 kB / 1.283 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/1.072, allocations: 33.17 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/1.072, allocations: 196 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.072, allocations: 2.281 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/1.072, allocations: 6.562 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/1.072, allocations: 71.47 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.072, allocations: 1.156 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.072, allocations: 4 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.072, allocations: 1.25 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/1.072, allocations: 44.48 kB / 1.283 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/1.073, allocations: 292.5 kB / 1.283 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.073, allocations: 57.09 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/1.073, allocations: 28.8 kB / 1.284 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/1.073, allocations: 1.281 kB / 1.284 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.073, allocations: 32.84 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.073, allocations: 3.938 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003985/1.074, allocations: 108.7 kB / 1.284 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.074, allocations: 56.66 kB / 1.284 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.074, allocations: 136.1 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.074, allocations: 29.7 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/1.074, allocations: 101.8 kB / 1.284 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/1.074, allocations: 15.5 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/1.074, allocations: 20 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.074, allocations: 324.2 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/1.074, allocations: 20.97 kB / 1.284 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/1.074, allocations: 29.31 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/1.074, allocations: 50.91 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.074, allocations: 0 / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002259/1.075, allocations: 92.75 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.075, allocations: 5.719 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.075, allocations: 0 / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.075, allocations: 1.797 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.075, allocations: 21.45 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.075, allocations: 0.9688 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/1.075, allocations: 9.406 kB / 1.285 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/1.075, allocations: 2.297 kB / 1.285 GB, free: 7.641 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 9.028e-05/1.075, allocations: 117.1 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/1.075, allocations: 8.703 kB / 1.285 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/1.075, allocations: 98.66 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.075, allocations: 1.844 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.075, allocations: 0 / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.075, allocations: 5.938 kB / 1.285 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/1.076, allocations: 196.9 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.076, allocations: 3.938 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/1.076, allocations: 18.59 kB / 1.285 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.076, allocations: 0 / 1.285 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.076, allocations: 5.969 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.076, allocations: 0 / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.076, allocations: 1.312 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/1.076, allocations: 187.6 kB / 1.285 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/1.076, allocations: 88.72 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.076, allocations: 1.344 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/1.076, allocations: 4.625 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/1.076, allocations: 4.406 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/1.076, allocations: 2.297 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.129e-05/1.076, allocations: 107.8 kB / 1.285 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.076, allocations: 3.938 kB / 1.285 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002347/1.076, allocations: 22.91 kB / 1.285 GB, free: 6.879 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.0006863/1.077, allocations: 0.74 MB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002114/1.077, allocations: 57.41 kB / 1.286 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.077, allocations: 0 / 1.286 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/1.077, allocations: 26.62 kB / 1.286 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/1.078, allocations: 17.22 kB / 1.286 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/1.079, allocations: 1.487 MB / 1.288 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.08, allocations: 0.69 MB / 1.288 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.204e-05/1.08, allocations: 5.453 kB / 1.288 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/1.08, allocations: 29.55 kB / 1.288 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.08, allocations: 0 / 1.288 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/1.099, allocations: 2.423 MB / 1.291 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/9.142, allocations: 16.27 kB / 1.291 GB, free: 3.707 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=0.006 --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: 15.468920907005668]