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.001814/0.001814, allocations: 108.3 kB / 16.46 MB, free: 6.035 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.002008/0.002008, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.865/2.865, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.001948/0.001948, allocations: 63.89 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9551, allocations: 168.7 MB / 1.269 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003212/0.9583, allocations: 1.623 MB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.96, allocations: 0.9207 MB / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.9601, allocations: 0 / 1.271 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.9601, allocations: 7.938 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.9604, allocations: 23.78 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.9607, allocations: 139.5 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.9609, allocations: 75.66 kB / 1.272 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.961, allocations: 17.8 kB / 1.272 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.9611, allocations: 39.92 kB / 1.272 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.9613, allocations: 31.84 kB / 1.272 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.9613, allocations: 4 kB / 1.272 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.9617, allocations: 283.6 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.9617, allocations: 15.92 kB / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.9618, allocations: 31.8 kB / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.962, allocations: 155.5 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.962, allocations: 3.938 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.962, allocations: 0 / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.962, allocations: 0 / 1.272 GB, free: 1.914 MB / 0.9669 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.0006466/0.9627, allocations: 410.8 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9627, allocations: 8.031 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.9628, allocations: 30.75 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.9629, allocations: 16.88 kB / 1.273 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.9632, allocations: 180.3 kB / 1.273 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.9632, allocations: 4.375 kB / 1.273 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.9632, allocations: 8.375 kB / 1.273 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.9634, allocations: 73.77 kB / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9634, allocations: 0 / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.9634, allocations: 0 / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9634, allocations: 4 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.9636, allocations: 43.91 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.964, allocations: 300.7 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.9642, allocations: 54.5 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.9643, allocations: 28.97 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.9643, allocations: 0 / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.9643, allocations: 38.48 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.9643, allocations: 7.938 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003687/0.9647, allocations: 101.6 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.9647, allocations: 55.41 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.9649, allocations: 131.7 kB / 1.273 GB, free: 256 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.9649, allocations: 25.7 kB / 1.274 GB, free: 224 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.965, allocations: 96.12 kB / 1.274 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.965, allocations: 15.86 kB / 1.274 GB, free: 108 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.965, allocations: 21.72 kB / 1.274 GB, free: 80 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9652, allocations: 326.8 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.9653, allocations: 19.98 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.9654, allocations: 19.98 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.9655, allocations: 60.77 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9655, allocations: 0 / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002195/0.9657, allocations: 93.61 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9658, allocations: 4 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9658, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9658, allocations: 7.984 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9659, allocations: 11.98 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9659, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.966, allocations: 8.375 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.966, allocations: 7.984 kB / 1.274 GB, free: 15.51 MB / 0.9825 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 0.0001039/0.9661, allocations: 121.7 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.9661, allocations: 7.953 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.9664, allocations: 106 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9664, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9664, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9664, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.9666, allocations: 189.6 kB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9666, allocations: 0 / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.9667, allocations: 15.98 kB / 1.275 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9667, allocations: 4 kB / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.9667, allocations: 0 / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9667, allocations: 3.938 kB / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9667, allocations: 0 / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.967, allocations: 187.4 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.9671, allocations: 85.06 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.9671, allocations: 7.938 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.9672, allocations: 7.984 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.9672, allocations: 11.94 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.9672, allocations: 0 / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.9673, allocations: 105 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9673, allocations: 0 / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002531/0.9675, allocations: 27.94 kB / 1.275 GB, free: 14.54 MB / 0.9825 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.0006865/0.9682, allocations: 0.7319 MB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.9685, allocations: 55.95 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9685, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.9685, allocations: 32.23 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9688, allocations: 16.12 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.9706, allocations: 1.454 MB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.971, allocations: 0.6923 MB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.971, allocations: 8 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.9711, allocations: 27.42 kB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.9711, allocations: 0 / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.9981, allocations: 2.337 MB / 1.28 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/9.268, allocations: 8.703 kB / 1.28 GB, free: 9.18 MB / 0.9825 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_2/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.612403970677406]