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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008323/0.0008323, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.0008877/0.0008877, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5434, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001637/0.5451, allocations: 1.313 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.5464, allocations: 0.8508 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.5465, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.5465, allocations: 7.922 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.5467, allocations: 23.78 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.5469, allocations: 88.95 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.547, allocations: 71.66 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.5471, allocations: 11.98 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.5472, allocations: 27.91 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5473, allocations: 27.86 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.5474, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.5477, allocations: 275.6 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.5477, allocations: 7.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.5478, allocations: 37.7 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.548, allocations: 105.7 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.548, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.548, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.548, allocations: 0 / 1.025 GB, free: 13.21 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.0004851/0.5485, allocations: 399 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5485, allocations: 16.03 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.5486, allocations: 11.89 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.5488, allocations: 186.9 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.5488, allocations: 7.953 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.5489, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.549, allocations: 65.66 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.5491, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.5491, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5491, allocations: 8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.5492, allocations: 51.91 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.5497, allocations: 296.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.5498, allocations: 54.56 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.5499, allocations: 40.91 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5499, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.55, allocations: 38.56 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.55, allocations: 3.938 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000361/0.5503, allocations: 113.5 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5504, allocations: 59.41 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.5505, allocations: 132.2 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5505, allocations: 25.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.5506, allocations: 96.08 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.5506, allocations: 23.77 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.5506, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5507, allocations: 322.8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.5508, allocations: 31.92 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.5509, allocations: 28.22 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.551, allocations: 32.11 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.551, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000217/0.5512, allocations: 97.61 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5512, allocations: 4 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5512, allocations: 0 / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5513, allocations: 4 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5514, allocations: 23.97 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5514, allocations: 0 / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.5515, allocations: 11.89 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5515, allocations: 8 kB / 1.027 GB, free: 10.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.5516, allocations: 117.8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.5516, allocations: 7.906 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.5519, allocations: 109.9 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5519, allocations: 4 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.5519, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.5519, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.5521, allocations: 185.5 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5521, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.5522, allocations: 19.98 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5522, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5522, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5522, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5522, allocations: 3.938 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5525, allocations: 195.4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.5526, allocations: 92.97 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5526, allocations: 192 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.5527, allocations: 15.98 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.5527, allocations: 4 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5527, allocations: 3.984 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.5528, allocations: 101 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5528, allocations: 4 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002558/0.5531, allocations: 16 kB / 1.028 GB, free: 9.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.5532, allocations: 115.2 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.5535, allocations: 67.89 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5535, allocations: 0 / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.5536, allocations: 35.98 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5539, allocations: 15.92 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.5542, allocations: 210.4 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5545, allocations: 0.6887 MB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.5545, allocations: 12.17 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5546, allocations: 15.44 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5546, allocations: 0 / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.00321/0.5578, allocations: 0.9779 MB / 1.03 GB, free: 7.707 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=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/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