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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0007533/0.0007533, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004854/0.004855, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 9.781 kB / 0.9028 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001907/0.3843, allocations: 1.331 MB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3858, allocations: 0.9387 MB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.3858, allocations: 0 / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.3859, allocations: 3.984 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3861, allocations: 23.78 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3864, allocations: 95.83 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3865, allocations: 75.64 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.3866, allocations: 8 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.3867, allocations: 23.92 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3868, allocations: 39.78 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3869, allocations: 4 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.3873, allocations: 283.6 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.3873, allocations: 11.92 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3873, allocations: 57.5 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3876, allocations: 143.9 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3876, allocations: 4 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3876, allocations: 0 / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3876, allocations: 0 / 1.062 GB, free: 2.461 MB / 0.8106 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.0006097/0.3882, allocations: 399.2 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3883, allocations: 12.03 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.3884, allocations: 12.83 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3886, allocations: 185.6 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3886, allocations: 4.375 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.3887, allocations: 4.375 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3889, allocations: 77.89 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3889, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3889, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.389, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3891, allocations: 47.97 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3896, allocations: 300.7 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3898, allocations: 58.5 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.3899, allocations: 28.97 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3899, allocations: 4 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.39, allocations: 38.56 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.39, allocations: 3.938 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003894/0.3904, allocations: 117.5 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3904, allocations: 55.41 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3905, allocations: 127.7 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3905, allocations: 29.7 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.3906, allocations: 96.12 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3906, allocations: 15.75 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3907, allocations: 17.66 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3908, allocations: 326.8 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.3909, allocations: 27.98 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.391, allocations: 23.98 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3911, allocations: 60.83 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3911, allocations: 4 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002276/0.3914, allocations: 93.58 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3914, allocations: 11.98 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3914, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3914, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3916, allocations: 19.92 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3916, allocations: 4 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.3916, allocations: 8 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3917, allocations: 448 / 1.064 GB, free: 64 kB / 0.8106 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.876e-05/0.3918, allocations: 119.3 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.3918, allocations: 7.906 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3921, allocations: 114 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3921, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3921, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3921, allocations: 11.92 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3923, allocations: 189.5 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3923, allocations: 3.984 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.3924, allocations: 15.94 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3924, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3924, allocations: 7.984 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3924, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3924, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3927, allocations: 191.4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3928, allocations: 85.09 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3928, allocations: 7.938 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.3929, allocations: 4 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.3929, allocations: 7.984 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3929, allocations: 4 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.358e-05/0.393, allocations: 100.9 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.853e-06/0.393, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002414/0.3933, allocations: 27.94 kB / 1.065 GB, free: 15.08 MB / 0.8262 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.0001995/0.3935, allocations: 119.2 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3937, allocations: 63.91 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3937, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/0.3938, allocations: 39.91 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3942, allocations: 12 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.3946, allocations: 218.5 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3949, allocations: 0.6926 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.3949, allocations: 4 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.395, allocations: 11.44 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.395, allocations: 0 / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.00369/0.3987, allocations: 1.018 MB / 1.067 GB, free: 12.86 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches