Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008571/0.008571, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00198/0.00198, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.12 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.802, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002847/0.8049, allocations: 1.619 MB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.8065, allocations: 0.9122 MB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.8066, allocations: 4 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.8067, allocations: 7.875 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.8069, allocations: 23.78 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.8073, allocations: 140.8 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.8074, allocations: 71.66 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.8076, allocations: 19.84 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.8077, allocations: 31.86 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.8078, allocations: 39.83 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.8078, allocations: 8 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.8082, allocations: 287.6 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.8083, allocations: 11.94 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.8083, allocations: 31.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.8086, allocations: 148 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8086, allocations: 4 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8086, allocations: 0 / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.8086, allocations: 4 kB / 1.17 GB, free: 428 kB / 0.8887 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.000605/0.8092, allocations: 403 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8093, allocations: 12.62 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.8094, allocations: 12.83 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.8096, allocations: 188.2 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.8097, allocations: 8.312 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8097, allocations: 384 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.8099, allocations: 69.97 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8099, allocations: 3.938 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8099, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.8099, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.8101, allocations: 39.97 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.8105, allocations: 304.7 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.8106, allocations: 54.5 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.8107, allocations: 32.97 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8108, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8108, allocations: 30.56 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.8108, allocations: 3.938 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0003582/0.8112, allocations: 105.6 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.8112, allocations: 63.34 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8113, allocations: 132.3 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.8113, allocations: 25.7 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.8114, allocations: 96.2 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.8114, allocations: 15.89 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.8115, allocations: 17.72 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8116, allocations: 322.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.8116, allocations: 27.98 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.8117, allocations: 19.98 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.8119, allocations: 52.83 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8119, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002186/0.8121, allocations: 97.98 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8121, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8121, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8122, allocations: 7.984 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.8123, allocations: 11.98 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8123, allocations: 4 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.8124, allocations: 11.89 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.8124, allocations: 4 kB / 1.172 GB, free: 14.05 MB / 0.9044 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.621e-05/0.8125, allocations: 117.8 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.8125, allocations: 7.953 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.8128, allocations: 101.9 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8128, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8128, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8128, allocations: 3.984 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.813, allocations: 185.6 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.813, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.8131, allocations: 15.98 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8131, allocations: 4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8131, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8131, allocations: 4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8131, allocations: 3.938 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.8134, allocations: 187.4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.8134, allocations: 85.06 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.8135, allocations: 7.875 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.8135, allocations: 4 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.8136, allocations: 11.98 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.8136, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.8137, allocations: 101.8 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8137, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002505/0.8139, allocations: 23.94 kB / 1.173 GB, free: 13.1 MB / 0.9044 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.0002002/0.8141, allocations: 115.2 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.8144, allocations: 55.91 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8144, allocations: 4 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.8145, allocations: 36.16 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.8148, allocations: 12.12 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.8152, allocations: 196.1 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.8154, allocations: 0.698 MB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.552e-05/0.8155, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.8155, allocations: 11.44 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of SimCode: time 1.472e-06/0.8155, allocations: 0 / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.003707/0.8192, allocations: 1.104 MB / 1.175 GB, free: 10.83 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches