Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001985/0.001985, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002412/0.002412, allocations: 165 kB / 22.46 MB, free: 5.375 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.293e-05, allocations: 4.812 kB / 1 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003171/0.003204, allocations: 1.614 MB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.005, allocations: 0.9463 MB / 1.003 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.005075, allocations: 4 kB / 1.003 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.005109, allocations: 7.922 kB / 1.003 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.005331, allocations: 27.72 kB / 1.003 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.00576, allocations: 159.5 kB / 1.003 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.005925, allocations: 83.58 kB / 1.003 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.006017, allocations: 11.98 kB / 1.003 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.006193, allocations: 47.84 kB / 1.003 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.006286, allocations: 31.89 kB / 1.003 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.006308, allocations: 4 kB / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.006735, allocations: 267.6 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.00676, allocations: 11.98 kB / 1.003 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.006796, allocations: 19.92 kB / 1.003 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.00712, allocations: 195.4 kB / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007122, allocations: 0 / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.01e-07/0.007123, allocations: 3.938 kB / 1.003 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.007127, allocations: 0 / 1.003 GB, free: 2.723 MB / 0.9044 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.000654/0.007781, allocations: 337.7 kB / 1.004 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00782, allocations: 8.031 kB / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.008098, allocations: 28.88 kB / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.008348, allocations: 137.6 kB / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.008362, allocations: 8.312 kB / 1.004 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.008376, allocations: 8.312 kB / 1.004 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.008584, allocations: 69.77 kB / 1.004 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008595, allocations: 4 kB / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.008606, allocations: 0 / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.008615, allocations: 0 / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.008778, allocations: 43.91 kB / 1.004 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.009223, allocations: 244.4 kB / 1.004 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.009381, allocations: 50.56 kB / 1.004 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.009467, allocations: 24.97 kB / 1.004 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.009485, allocations: 0 / 1.004 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.009529, allocations: 38.56 kB / 1.004 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.00953, allocations: 0 / 1.004 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.009935, allocations: 117.5 kB / 1.005 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.009976, allocations: 51.41 kB / 1.005 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01011, allocations: 136 kB / 1.005 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01013, allocations: 25.7 kB / 1.005 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.01022, allocations: 96.12 kB / 1.005 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.01025, allocations: 23.8 kB / 1.005 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.01029, allocations: 21.7 kB / 1.005 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01045, allocations: 310.8 kB / 1.005 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.01054, allocations: 23.98 kB / 1.005 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.01062, allocations: 31.97 kB / 1.005 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.01079, allocations: 56.72 kB / 1.005 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01079, allocations: 0 / 1.005 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002341/0.01103, allocations: 93.61 kB / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01104, allocations: 4 kB / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01105, allocations: 0 / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01106, allocations: 0 / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01119, allocations: 19.98 kB / 1.005 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01119, allocations: 0 / 1.005 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.01125, allocations: 7.984 kB / 1.005 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.01126, allocations: 0 / 1.005 GB, free: 0.5664 MB / 0.9044 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.0001097/0.01137, allocations: 117.8 kB / 1.006 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.01142, allocations: 11.89 kB / 1.006 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.0117, allocations: 102.5 kB / 1.006 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0117, allocations: 3.938 kB / 1.006 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01171, allocations: 4 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01171, allocations: 0 / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.0119, allocations: 137.4 kB / 1.006 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.0119, allocations: 0 / 1.006 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.01199, allocations: 8 kB / 1.006 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01199, allocations: 3.984 kB / 1.006 GB, free: 140 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.012, allocations: 7.938 kB / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.012, allocations: 0 / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.012, allocations: 0 / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.01235, allocations: 195.4 kB / 1.006 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.01236, allocations: 7.953 kB / 1.006 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01238, allocations: 0 / 1.006 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.01246, allocations: 4 kB / 1.006 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.01252, allocations: 11.98 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.01253, allocations: 0 / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.01261, allocations: 109.3 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01261, allocations: 0 / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002618/0.01288, allocations: 27.92 kB / 1.006 GB, free: 15.76 MB / 0.92 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.0002308/0.01311, allocations: 111.2 kB / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01333, allocations: 59.89 kB / 1.006 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01334, allocations: 0 / 1.006 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.01343, allocations: 23.98 kB / 1.006 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01371, allocations: 19.88 kB / 1.006 GB, free: 15.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.01417, allocations: 177.5 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.64e-05/0.01426, allocations: 79.33 kB / 1.007 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.01431, allocations: 4 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.01435, allocations: 16.48 kB / 1.007 GB, free: 15.22 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.01435, allocations: 0 / 1.007 GB, free: 15.22 MB / 0.92 GB Notification: Performance of Templates: time 0.00439/0.01874, allocations: 1.142 MB / 1.008 GB, free: 14.1 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.412780314683914]