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.007781/0.007781, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001607/0.001607, allocations: 197.2 kB / 16.68 MB, free: 6.355 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.34 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2882, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002623/0.2909, allocations: 1.596 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2923, allocations: 0.9136 MB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.2924, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.2924, allocations: 3.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2927, allocations: 23.78 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.293, allocations: 139.5 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2932, allocations: 75.66 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2933, allocations: 23.97 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.2934, allocations: 35.91 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2935, allocations: 31.84 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2936, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.2939, allocations: 291.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.294, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.294, allocations: 35.78 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2942, allocations: 163.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2943, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2943, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2943, allocations: 0 / 1.091 GB, free: 14.12 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.0005229/0.2948, allocations: 403.1 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2948, allocations: 8.031 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.295, allocations: 16.83 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2952, allocations: 188.2 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2952, allocations: 384 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2952, allocations: 7.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2954, allocations: 61.66 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2954, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2954, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2954, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.2956, allocations: 47.89 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.296, allocations: 308.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2962, allocations: 50.56 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.2963, allocations: 28.97 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2963, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2963, allocations: 42.5 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.2963, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003576/0.2967, allocations: 105.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2967, allocations: 51.41 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.2968, allocations: 135.5 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2969, allocations: 25.7 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.2969, allocations: 96.14 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2969, allocations: 23.73 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.297, allocations: 17.72 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.2971, allocations: 322.8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.2972, allocations: 19.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.2972, allocations: 23.98 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2974, allocations: 56.77 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2974, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002179/0.2976, allocations: 93.56 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2977, allocations: 4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2977, allocations: 3.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2977, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2978, allocations: 15.98 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2978, allocations: 3.938 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.2979, allocations: 11.94 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2979, allocations: 0 / 1.093 GB, free: 11.77 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 8.065e-05/0.298, allocations: 121.8 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.298, allocations: 7.906 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.2983, allocations: 93.97 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2983, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2983, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2983, allocations: 12.42 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2985, allocations: 181.7 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2985, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.2986, allocations: 19.98 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2986, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2987, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2987, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2987, allocations: 7.938 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2989, allocations: 191.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.299, allocations: 81.02 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.299, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.2991, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2991, allocations: 7.984 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2991, allocations: 7.938 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.2992, allocations: 101.1 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2992, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002485/0.2995, allocations: 35.92 kB / 1.094 GB, free: 10.8 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.0002022/0.2997, allocations: 111.8 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2999, allocations: 59.89 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2999, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.3, allocations: 27.98 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3003, allocations: 12 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.3007, allocations: 196.1 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.301, allocations: 0.6924 MB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.301, allocations: 11.75 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.3011, allocations: 7.438 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3011, allocations: 0 / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of Templates: time 0.003494/0.3046, allocations: 1.125 MB / 1.096 GB, free: 8.523 MB / 0.8575 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