Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001071/0.001071, 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.008685/0.008685, 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.094/3.094, allocations: 470.6 MB / 0.7442 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 11.31 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.378, allocations: 161.4 MB / 1.07 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002184/0.3802, allocations: 1.329 MB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3819, allocations: 0.9273 MB / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.3819, allocations: 0 / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.382, allocations: 3.938 kB / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.3822, allocations: 15.86 kB / 1.072 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3825, allocations: 103.7 kB / 1.072 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3826, allocations: 75.72 kB / 1.072 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3828, allocations: 8 kB / 1.072 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.3829, allocations: 31.86 kB / 1.072 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.383, allocations: 35.83 kB / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.383, allocations: 4 kB / 1.072 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.3835, allocations: 275.7 kB / 1.073 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3835, allocations: 15.92 kB / 1.073 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.3836, allocations: 57.5 kB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3838, allocations: 143.9 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3838, allocations: 0 / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3838, allocations: 0 / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3839, allocations: 0 / 1.073 GB, free: 8.32 MB / 0.8262 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.0006355/0.3845, allocations: 399.3 kB / 1.073 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3845, allocations: 11.97 kB / 1.073 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3847, allocations: 16.84 kB / 1.073 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3849, allocations: 196.1 kB / 1.073 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3849, allocations: 384 / 1.073 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.385, allocations: 8.359 kB / 1.073 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3852, allocations: 69.97 kB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3852, allocations: 0 / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3852, allocations: 4 kB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3852, allocations: 7.938 kB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.3854, allocations: 51.95 kB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.3859, allocations: 300.7 kB / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3861, allocations: 62.48 kB / 1.074 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.3862, allocations: 32.97 kB / 1.074 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3862, allocations: 4.062 kB / 1.074 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3863, allocations: 34.56 kB / 1.074 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 4.589e-06/0.3863, allocations: 0 / 1.074 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.3867, allocations: 121.4 kB / 1.074 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3867, allocations: 59.39 kB / 1.074 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3869, allocations: 130.8 kB / 1.074 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3869, allocations: 29.69 kB / 1.074 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.387, allocations: 92.14 kB / 1.074 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.387, allocations: 15.75 kB / 1.074 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.387, allocations: 17.7 kB / 1.074 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3872, allocations: 318.8 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.3873, allocations: 27.98 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.3874, allocations: 23.98 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3876, allocations: 64.83 kB / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3876, allocations: 0 / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002444/0.3878, allocations: 105.5 kB / 1.075 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3878, allocations: 5.562 kB / 1.075 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3879, allocations: 0 / 1.075 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3879, allocations: 4 kB / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.388, allocations: 15.98 kB / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.388, allocations: 0 / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.3881, allocations: 15.89 kB / 1.075 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3881, allocations: 8 kB / 1.075 GB, free: 5.891 MB / 0.8262 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.0001013/0.3882, allocations: 109.8 kB / 1.075 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.3882, allocations: 7.906 kB / 1.075 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.3885, allocations: 117.9 kB / 1.075 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3885, allocations: 0 / 1.075 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3886, allocations: 0.5 kB / 1.075 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3886, allocations: 0 / 1.075 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3888, allocations: 181.6 kB / 1.075 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3888, allocations: 8 kB / 1.075 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.3889, allocations: 15.98 kB / 1.075 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3889, allocations: 0 / 1.075 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3889, allocations: 0 / 1.075 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3889, allocations: 4 kB / 1.075 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3889, allocations: 0 / 1.075 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3892, allocations: 199.3 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3893, allocations: 88.95 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3893, allocations: 4 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.3894, allocations: 15.92 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3895, allocations: 4 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3895, allocations: 4 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.3896, allocations: 103.2 kB / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3896, allocations: 0 / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.3898, allocations: 16 kB / 1.076 GB, free: 4.93 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.0002184/0.39, allocations: 115.2 kB / 1.076 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3903, allocations: 67.89 kB / 1.076 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3903, allocations: 0 / 1.076 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.3904, allocations: 35.92 kB / 1.076 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3907, allocations: 19.28 kB / 1.076 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3912, allocations: 215 kB / 1.076 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3915, allocations: 0.6965 MB / 1.077 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.3916, allocations: 7.984 kB / 1.077 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.3916, allocations: 11.42 kB / 1.077 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3916, allocations: 3.938 kB / 1.077 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of Templates: time 0.003999/0.3957, allocations: 1.001 MB / 1.078 GB, free: 2.715 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches