Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 103.5 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 64.12 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9368, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003143/0.94, allocations: 1.618 MB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.9417, allocations: 0.9122 MB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.9418, allocations: 4 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.9419, allocations: 11.81 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.9422, allocations: 23.78 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.9426, allocations: 141.2 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.9428, allocations: 75.72 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.9429, allocations: 15.84 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.9431, allocations: 35.86 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.9432, allocations: 39.83 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.9432, allocations: 4 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.9437, allocations: 283.7 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.9437, allocations: 11.92 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.9438, allocations: 31.8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.9441, allocations: 155.5 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9441, allocations: 0 / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9441, allocations: 0 / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9441, allocations: 0 / 1.171 GB, free: 432 kB / 0.8887 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.0006452/0.9448, allocations: 405 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9448, allocations: 8.922 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.945, allocations: 12.84 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.9452, allocations: 200.1 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.9453, allocations: 384 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.9453, allocations: 4.375 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.9455, allocations: 61.98 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.9455, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.9455, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9455, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.9457, allocations: 43.95 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.9461, allocations: 300.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.9463, allocations: 58.55 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/0.9464, allocations: 24.97 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.9464, allocations: 4.062 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.9465, allocations: 38.56 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.9465, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0003642/0.9468, allocations: 105.5 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.9469, allocations: 59.39 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.947, allocations: 128.1 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.947, allocations: 25.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.9471, allocations: 104.1 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.9471, allocations: 11.81 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.9472, allocations: 21.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9473, allocations: 322.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.43e-05/0.9473, allocations: 19.98 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.9474, allocations: 27.92 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.9476, allocations: 57.2 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9476, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002138/0.9478, allocations: 93.52 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9478, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9478, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9479, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.948, allocations: 15.98 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.948, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.9481, allocations: 11.98 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9481, allocations: 0 / 1.173 GB, free: 14.07 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 8.947e-05/0.9482, allocations: 117.8 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.9483, allocations: 7.906 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.9485, allocations: 105.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.9485, allocations: 4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.9485, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9485, allocations: 4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.9487, allocations: 185.5 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9487, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.9488, allocations: 15.98 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9489, allocations: 3.984 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.9489, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.9489, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9489, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.9491, allocations: 191.3 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.9492, allocations: 77.11 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.9492, allocations: 11.92 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.9493, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.9494, allocations: 12.17 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.9494, allocations: 4 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.9494, allocations: 105.5 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9495, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002445/0.9497, allocations: 20 kB / 1.174 GB, free: 13.11 MB / 0.9044 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.0002034/0.9499, allocations: 119.2 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.9501, allocations: 59.91 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9501, allocations: 0 / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.9502, allocations: 27.92 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.9505, allocations: 14.05 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.951, allocations: 222 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.9513, allocations: 0.6923 MB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.9513, allocations: 15.42 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9513, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.002743/0.9541, allocations: 1.113 MB / 1.176 GB, free: 10.8 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches