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.001718/0.001718, allocations: 78.88 kB / 19.76 MB, free: 2.035 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.002238/0.002238, allocations: 157.3 kB / 23.01 MB, free: 4.945 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.901/2.901, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002104/0.002104, allocations: 59.91 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8286, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00257/0.8311, allocations: 1.631 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.8325, allocations: 0.9205 MB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.8326, allocations: 5.219 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.8326, allocations: 9.188 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.8328, allocations: 23.66 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.8332, allocations: 156.7 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.8333, allocations: 76.42 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.8334, allocations: 13.94 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.8336, allocations: 43.34 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.8337, allocations: 32.88 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.8337, allocations: 8.094 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.8341, allocations: 273.6 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.8341, allocations: 13.12 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.8342, allocations: 26.48 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.8344, allocations: 160.1 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8344, allocations: 1.406 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8344, allocations: 0 / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8345, allocations: 0 / 1.19 GB, free: 14.22 MB / 1.076 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.0004794/0.8349, allocations: 341.7 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.835, allocations: 10.25 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.8353, allocations: 29.44 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.8355, allocations: 139.6 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8355, allocations: 1.844 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.8355, allocations: 11.22 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.8357, allocations: 60.83 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8357, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8357, allocations: 5.156 kB / 1.191 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8357, allocations: 0 / 1.191 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.8358, allocations: 45.45 kB / 1.191 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.8362, allocations: 238.1 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.8363, allocations: 49.22 kB / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.8364, allocations: 31.19 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8364, allocations: 0 / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.8364, allocations: 35.84 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.8364, allocations: 0.9688 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.0003478/0.8368, allocations: 109 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.8368, allocations: 61.08 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.8369, allocations: 135.5 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.8369, allocations: 25.7 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.8369, allocations: 98.14 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.8369, allocations: 24.23 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.837, allocations: 19.84 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.837, allocations: 323.8 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.8371, allocations: 21.19 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.8372, allocations: 25.09 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.8373, allocations: 56.39 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8373, allocations: 384 / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002075/0.8375, allocations: 104.5 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8375, allocations: 7.625 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8375, allocations: 0 / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8376, allocations: 1.953 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.8377, allocations: 13.36 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8377, allocations: 1.766 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.8377, allocations: 4.922 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.8378, allocations: 1.953 kB / 1.192 GB, free: 12.56 MB / 1.076 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 6.661e-05/0.8378, allocations: 117.9 kB / 1.192 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.8379, allocations: 11.64 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.8381, allocations: 103.4 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8381, allocations: 1.031 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8381, allocations: 1.812 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8381, allocations: 3.984 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.8382, allocations: 124.7 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8382, allocations: 0.5156 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.8383, allocations: 14.34 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8383, allocations: 4.609 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8383, allocations: 2.156 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8383, allocations: 0 / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8383, allocations: 1.219 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.8386, allocations: 193.1 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.8386, allocations: 12.42 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.8386, allocations: 4.75 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.8387, allocations: 4.594 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.8387, allocations: 4.188 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.8387, allocations: 6.328 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.8388, allocations: 105.8 kB / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8388, allocations: 0 / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002545/0.839, allocations: 24.2 kB / 1.193 GB, free: 11.97 MB / 1.076 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.0001426/0.8392, allocations: 111.4 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8394, allocations: 61.77 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8394, allocations: 5 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.8395, allocations: 34.25 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.8398, allocations: 14.39 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.8401, allocations: 194.7 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.8402, allocations: 76.31 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.692e-05/0.8402, allocations: 12.5 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.8403, allocations: 13.42 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.8403, allocations: 0 / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.00416/0.8444, allocations: 1.122 MB / 1.194 GB, free: 11.46 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.64690645202063]