Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005416/0.005416, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.00117/0.00117, allocations: 188.7 kB / 16.67 MB, free: 5.523 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001395, allocations: 63.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.789, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002681/0.7917, allocations: 1.613 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.7931, allocations: 0.898 MB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.7931, allocations: 0 / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.7932, allocations: 6.391 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.7934, allocations: 26.34 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.7938, allocations: 141.1 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.794, allocations: 78.39 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7941, allocations: 13.05 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.7942, allocations: 34.67 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.7943, allocations: 34.83 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.7944, allocations: 5.656 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.7948, allocations: 284.2 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.7948, allocations: 12.22 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.7949, allocations: 34.58 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.7952, allocations: 146.9 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7952, allocations: 5.391 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7952, allocations: 0 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7952, allocations: 0.7812 kB / 1.091 GB, free: 3.473 MB / 0.8575 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.000527/0.7957, allocations: 410 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7958, allocations: 13.41 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.7959, allocations: 12.73 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7961, allocations: 183 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.7961, allocations: 5.812 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7961, allocations: 10 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.7963, allocations: 60 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7963, allocations: 0 / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7963, allocations: 1.203 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7964, allocations: 8.688 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.7965, allocations: 45.53 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.7969, allocations: 302.1 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.7971, allocations: 50.56 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.7971, allocations: 34.61 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.7972, allocations: 1.344 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.7972, allocations: 32.16 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.7972, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003538/0.7976, allocations: 104.3 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.7976, allocations: 57.39 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.7977, allocations: 136.1 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.7977, allocations: 26.64 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.7977, allocations: 96.98 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.7978, allocations: 15.12 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.7978, allocations: 20.53 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.7979, allocations: 319.7 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.7979, allocations: 25 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.798, allocations: 24.89 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.7982, allocations: 55.77 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7982, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002062/0.7984, allocations: 88.14 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7984, allocations: 5.844 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7984, allocations: 3.984 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.7985, allocations: 1.547 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7986, allocations: 21.45 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7986, allocations: 5.547 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.7987, allocations: 9.891 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.7987, allocations: 1.75 kB / 1.093 GB, free: 1.598 MB / 0.8575 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 5.822e-05/0.7987, allocations: 116.5 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.7988, allocations: 7.875 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.799, allocations: 99.92 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7991, allocations: 0.6719 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7991, allocations: 4.812 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7991, allocations: 5.375 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.7992, allocations: 183 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7992, allocations: 0.9062 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.7993, allocations: 14.52 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7993, allocations: 0 / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.7994, allocations: 9.391 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7994, allocations: 0.625 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7994, allocations: 4.75 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.7996, allocations: 191.8 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.7996, allocations: 83.59 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.7997, allocations: 1.984 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.7997, allocations: 4.547 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.7998, allocations: 4.203 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.7998, allocations: 10.06 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.7999, allocations: 104.1 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7999, allocations: 0 / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.8001, allocations: 23.17 kB / 1.094 GB, free: 0.8398 MB / 0.8575 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.0001814/0.8003, allocations: 118 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8006, allocations: 58.14 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8006, allocations: 0 / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.8007, allocations: 32.17 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.8009, allocations: 10.5 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.8014, allocations: 201.9 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.8015, allocations: 0.6895 MB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.8016, allocations: 11.89 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.8016, allocations: 12.53 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.564e-06/0.8016, allocations: 0 / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004493/0.8061, allocations: 1.101 MB / 1.096 GB, free: 15.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches