Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002601/0.002601, allocations: 83.75 kB / 20.23 MB, free: 4.039 MB / 18.57 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.003193/0.003193, allocations: 157.4 kB / 23.55 MB, free: 0.7266 MB / 18.57 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.755/1.755, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.406/3.406, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.519e-05/4.787e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004178/0.004225, allocations: 1.642 MB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.006482, allocations: 0.958 MB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.006573, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.006615, allocations: 7.875 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.006944, allocations: 20.98 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.007438, allocations: 165 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.00768, allocations: 87.58 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.007814, allocations: 4.719 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.008058, allocations: 55.81 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.008173, allocations: 28.44 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.008201, allocations: 9.656 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.008702, allocations: 271.6 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.008729, allocations: 7.984 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.008773, allocations: 19.92 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.00917, allocations: 188.1 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.009176, allocations: 4 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.044e-06/0.009178, allocations: 0.9688 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.009186, allocations: 0 / 0.8142 GB, free: 14.61 MB / 0.7761 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.0009779/0.01016, allocations: 436.8 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.01022, allocations: 8.031 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.01055, allocations: 38.19 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.01082, allocations: 144.2 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.01084, allocations: 4.375 kB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.01085, allocations: 384 / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.01106, allocations: 58.23 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01107, allocations: 192 / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.0111, allocations: 10.39 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.0111, allocations: 3.938 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.01125, allocations: 35.97 kB / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.0119, allocations: 304.2 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.01208, allocations: 57.55 kB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.01217, allocations: 31.8 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.0122, allocations: 0 / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.01225, allocations: 41.33 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.01225, allocations: 0 / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0004353/0.01268, allocations: 99.34 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.01274, allocations: 51.41 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.01297, allocations: 205.9 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.013, allocations: 25.7 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01313, allocations: 143.4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.01317, allocations: 23.78 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.01323, allocations: 23.94 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002969/0.01353, allocations: 0.4979 MB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.01361, allocations: 16 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.01367, allocations: 19.98 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01381, allocations: 47.67 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01381, allocations: 2.594 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002145/0.01403, allocations: 93.5 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01405, allocations: 4 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01405, allocations: 0 / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01407, allocations: 0 / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.0142, allocations: 15.98 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01421, allocations: 5.125 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.01426, allocations: 0 / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01427, allocations: 7.984 kB / 0.8166 GB, free: 12.01 MB / 0.7761 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.0001672/0.01444, allocations: 161.4 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.01449, allocations: 12.42 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.01479, allocations: 103.3 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01479, allocations: 0 / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.0148, allocations: 3.688 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0148, allocations: 64 / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.01504, allocations: 148.6 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01504, allocations: 0 / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.01511, allocations: 16 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01512, allocations: 0 / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01513, allocations: 7.922 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01514, allocations: 3.984 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01514, allocations: 0 / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.0155, allocations: 237.7 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01552, allocations: 11.89 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01554, allocations: 3.938 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.01562, allocations: 4 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.01568, allocations: 3.984 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.01569, allocations: 5.031 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001201/0.01581, allocations: 154.3 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01581, allocations: 0 / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002453/0.01605, allocations: 25.05 kB / 0.8174 GB, free: 11.07 MB / 0.7761 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.0002764/0.01633, allocations: 112.3 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.01658, allocations: 63.59 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01658, allocations: 1.125 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.01667, allocations: 31.67 kB / 0.8176 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.01698, allocations: 12.77 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01757, allocations: 196.5 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01768, allocations: 75.33 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.016e-05/0.01773, allocations: 10.05 kB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01778, allocations: 16.5 kB / 0.8179 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.262e-06/0.01778, allocations: 0.6562 kB / 0.8179 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.005504/0.02329, allocations: 1.147 MB / 0.8191 GB, free: 9.387 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.71538636891637]