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.001829/0.001829, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.725/2.725, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002762, allocations: 71.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6426, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003286/0.6459, allocations: 1.62 MB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.6476, allocations: 0.9007 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.6477, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.6477, allocations: 11.77 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.648, allocations: 19.84 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.6484, allocations: 151.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.6486, allocations: 75.66 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6487, allocations: 8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.6488, allocations: 39.84 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.6489, allocations: 31.84 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.6489, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.6494, allocations: 287.6 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.6494, allocations: 11.94 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.6495, allocations: 35.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.6498, allocations: 145.6 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6498, allocations: 7.984 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6498, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6498, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 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.000639/0.6504, allocations: 403.1 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6505, allocations: 8.031 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.6506, allocations: 16.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.6508, allocations: 192.1 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6508, allocations: 4.375 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.6509, allocations: 4.359 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.6511, allocations: 65.92 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6511, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6511, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.6511, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.6513, allocations: 51.89 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.6518, allocations: 292.8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.652, allocations: 54.48 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.6521, allocations: 36.97 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.6521, allocations: 4.062 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6521, allocations: 30.56 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.6521, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003966/0.6525, allocations: 105.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.6526, allocations: 59.34 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.6527, allocations: 139.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6527, allocations: 29.64 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.6528, allocations: 96.05 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.6528, allocations: 15.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.6529, allocations: 17.72 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.653, allocations: 326.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.6531, allocations: 19.98 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.6532, allocations: 23.98 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.6534, allocations: 52.83 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6534, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002426/0.6536, allocations: 89.58 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6537, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6537, allocations: 3.984 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6537, allocations: 4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6538, allocations: 15.94 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6538, allocations: 3.984 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.6539, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.6539, allocations: 4.438 kB / 1.023 GB, free: 12.8 MB / 0.7794 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 9.273e-05/0.654, allocations: 113.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.6541, allocations: 7.906 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.6543, allocations: 109.9 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6544, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6544, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6544, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.6546, allocations: 181.6 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6546, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.6547, allocations: 15.98 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6547, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.6547, allocations: 3.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6547, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6547, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.655, allocations: 187.4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.6551, allocations: 89 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.6551, allocations: 3.938 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.6552, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.6553, allocations: 11.92 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.6553, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.6554, allocations: 108.6 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6554, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002479/0.6556, allocations: 24 kB / 1.023 GB, free: 11.84 MB / 0.7794 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.0002111/0.6558, allocations: 115.2 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.6561, allocations: 55.91 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6561, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.6562, allocations: 39.91 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.6565, allocations: 15.58 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.657, allocations: 196.4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6574, allocations: 0.6924 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.6574, allocations: 11.97 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.6575, allocations: 11.44 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 4.8e-07/0.6575, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.004112/0.6616, allocations: 1.089 MB / 1.026 GB, free: 9.578 MB / 0.7794 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=400 -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/jenkins/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