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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001693/0.001693, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001944/0.001944, allocations: 195.6 kB / 17.31 MB, free: 5.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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002655/0.3006, allocations: 1.621 MB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3019, allocations: 0.8966 MB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.3019, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.302, allocations: 7.875 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3022, allocations: 31.72 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3025, allocations: 142.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3027, allocations: 71.7 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.3028, allocations: 20 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.3028, allocations: 31.8 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.303, allocations: 43.83 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.303, allocations: 4 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.3033, allocations: 279.6 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.3034, allocations: 15.98 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.3034, allocations: 27.81 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3036, allocations: 147.6 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3036, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3036, allocations: 4 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3037, allocations: 7.938 kB / 1.03 GB, free: 14.72 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.0005293/0.3042, allocations: 403.1 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3042, allocations: 8.031 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3043, allocations: 16.83 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3046, allocations: 192.1 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3046, allocations: 8.375 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3046, allocations: 4.375 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3048, allocations: 73.95 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3048, allocations: 4 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3048, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3048, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3049, allocations: 39.97 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3053, allocations: 304.7 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3055, allocations: 50.5 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3056, allocations: 28.97 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3056, allocations: 4.062 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3056, allocations: 34.56 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3056, allocations: 4 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003407/0.306, allocations: 105.6 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.306, allocations: 55.41 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.3061, allocations: 135.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3061, allocations: 25.7 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.3062, allocations: 96.12 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3062, allocations: 15.75 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3062, allocations: 17.72 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3063, allocations: 326.8 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3064, allocations: 19.98 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.3065, allocations: 23.98 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3066, allocations: 52.83 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3066, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000199/0.3069, allocations: 97.5 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3069, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3069, allocations: 7.938 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3069, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.307, allocations: 11.98 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.307, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.3071, allocations: 8 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3071, allocations: 8.422 kB / 1.032 GB, free: 12.36 MB / 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 7.833e-05/0.3072, allocations: 125.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3072, allocations: 3.906 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3075, allocations: 105.9 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3075, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3075, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3075, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3077, allocations: 185.6 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3077, allocations: 4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.3078, allocations: 19.92 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3078, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3078, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3078, allocations: 3.984 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3078, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3081, allocations: 191.3 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3081, allocations: 89.02 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3081, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.3082, allocations: 7.984 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3083, allocations: 4 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3083, allocations: 0 / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3083, allocations: 101.8 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3083, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002506/0.3086, allocations: 27.98 kB / 1.033 GB, free: 11.41 MB / 0.8106 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.0001727/0.3088, allocations: 119.2 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.309, allocations: 55.89 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.309, allocations: 0 / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.3091, allocations: 35.92 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3093, allocations: 8 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.3097, allocations: 200.5 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.31, allocations: 0.6885 MB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.31, allocations: 11.92 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.31, allocations: 15.38 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3101, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.003355/0.3134, allocations: 1.089 MB / 1.035 GB, free: 9.129 MB / 0.8106 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 -s cvode -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/jenkins1/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