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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.009281/0.009281, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001501/0.001501, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7453 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.14 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 159.9 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002858/0.3751, allocations: 1.631 MB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3766, allocations: 0.9152 MB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.3767, allocations: 3.938 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3767, allocations: 3.938 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.377, allocations: 23.78 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3773, allocations: 149.7 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3775, allocations: 71.72 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3776, allocations: 11.98 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.3777, allocations: 35.86 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3779, allocations: 35.83 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3779, allocations: 8 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.3783, allocations: 287.6 kB / 1.229 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.3783, allocations: 7.938 kB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.3784, allocations: 31.8 kB / 1.229 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.3786, allocations: 151.5 kB / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3786, allocations: 0 / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3786, allocations: 0 / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3786, allocations: 3.938 kB / 1.229 GB, free: 5.848 MB / 0.9825 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.0006016/0.3793, allocations: 414.8 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3793, allocations: 8.031 kB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3794, allocations: 12.89 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3797, allocations: 196.2 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.3797, allocations: 384 / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3797, allocations: 4.375 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3799, allocations: 65.97 kB / 1.23 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3799, allocations: 3.938 kB / 1.23 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3799, allocations: 4 kB / 1.23 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.38, allocations: 3.984 kB / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3801, allocations: 39.97 kB / 1.23 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3806, allocations: 304.7 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3807, allocations: 58.55 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.3808, allocations: 28.97 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3808, allocations: 4.062 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3809, allocations: 34.56 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3809, allocations: 0 / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003641/0.3812, allocations: 109.5 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3813, allocations: 55.41 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.3814, allocations: 131.9 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3814, allocations: 25.7 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3815, allocations: 92.14 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3815, allocations: 23.84 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3815, allocations: 17.72 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3817, allocations: 322.8 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.743e-05/0.3817, allocations: 23.98 kB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.3818, allocations: 23.98 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.382, allocations: 48.83 kB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.382, allocations: 384 / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002042/0.3822, allocations: 101.5 kB / 1.231 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3822, allocations: 8 kB / 1.231 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3822, allocations: 0 / 1.231 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3822, allocations: 4 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3824, allocations: 15.98 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3824, allocations: 0 / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.3824, allocations: 7.938 kB / 1.231 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3825, allocations: 0 / 1.231 GB, free: 3.477 MB / 0.9825 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.29e-05/0.3825, allocations: 117.8 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.3826, allocations: 7.953 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3828, allocations: 105.9 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3829, allocations: 4 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3829, allocations: 3.938 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3829, allocations: 0 / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3831, allocations: 189.5 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3831, allocations: 0 / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.3831, allocations: 12 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3832, allocations: 0 / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3832, allocations: 3.984 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3832, allocations: 0 / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3832, allocations: 4 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3835, allocations: 195.3 kB / 1.232 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3835, allocations: 81.06 kB / 1.232 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3835, allocations: 4 kB / 1.232 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.3836, allocations: 0 / 1.232 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3837, allocations: 7.984 kB / 1.232 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3837, allocations: 8.188 kB / 1.232 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.956e-05/0.3837, allocations: 101.6 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3837, allocations: 0 / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002434/0.384, allocations: 23.94 kB / 1.232 GB, free: 2.523 MB / 0.9825 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.0001945/0.3842, allocations: 115.2 kB / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3844, allocations: 67.84 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3844, allocations: 4 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3845, allocations: 31.97 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3848, allocations: 10.06 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.3852, allocations: 188 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3855, allocations: 0.6963 MB / 1.233 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.3855, allocations: 11.97 kB / 1.233 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3856, allocations: 11.44 kB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3856, allocations: 0 / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of Templates: time 0.003581/0.3891, allocations: 1.097 MB / 1.234 GB, free: 252 kB / 0.9825 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