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.001903/0.001903, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002216/0.002216, allocations: 193.9 kB / 16.14 MB, free: 6.637 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.834/2.834, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8037, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002905/0.8067, allocations: 1.66 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.8082, allocations: 0.9475 MB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.8083, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.8084, allocations: 3.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.8085, allocations: 23.84 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.8088, allocations: 101.8 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.809, allocations: 75.66 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.809, allocations: 8 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-05/0.8091, allocations: 35.86 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.8093, allocations: 35.83 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.8093, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.8097, allocations: 279.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.8097, allocations: 11.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.8098, allocations: 27.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.81, allocations: 145.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.81, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.91e-07/0.81, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.81, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 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.0006233/0.8107, allocations: 407.2 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.8107, allocations: 12.03 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.8108, allocations: 8.844 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.8111, allocations: 197.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.8111, allocations: 4.375 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.8111, allocations: 384 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8113, allocations: 73.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8113, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8113, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8113, allocations: 7.984 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.8115, allocations: 43.95 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.812, allocations: 292.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.8122, allocations: 54.48 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.8122, allocations: 28.97 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.8123, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8123, allocations: 30.56 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.8123, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003982/0.8127, allocations: 113.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8128, allocations: 55.34 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8129, allocations: 140.3 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.8129, allocations: 25.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.813, allocations: 95.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.813, allocations: 15.89 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.8131, allocations: 21.7 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8132, allocations: 330.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.8133, allocations: 19.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.8134, allocations: 19.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.8136, allocations: 56.83 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8136, allocations: 384 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000237/0.8138, allocations: 93.58 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8139, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8139, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8139, allocations: 3.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.814, allocations: 15.98 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.814, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.8141, allocations: 7.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.8141, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 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 9.02e-05/0.8142, allocations: 118.6 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.8143, allocations: 7.906 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.8145, allocations: 102 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8145, allocations: 3.938 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8145, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.8146, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.8148, allocations: 193.5 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8148, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.8149, allocations: 15.98 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8149, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8149, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8149, allocations: 3.984 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8149, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.8152, allocations: 183.4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.8153, allocations: 89 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.8153, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.8154, allocations: 7.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.8154, allocations: 11.92 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.8155, allocations: 4.188 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.8155, allocations: 95.27 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8155, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002482/0.8158, allocations: 24 kB / 1.023 GB, free: 12.12 MB / 0.7794 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.0001999/0.816, allocations: 111.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.8162, allocations: 67.84 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8162, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.8163, allocations: 27.92 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.8167, allocations: 23.05 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.8171, allocations: 205.9 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8175, allocations: 0.6887 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.371e-05/0.8175, allocations: 11.98 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.8176, allocations: 11.44 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8176, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003742/0.8213, allocations: 1.021 MB / 1.025 GB, free: 9.914 MB / 0.7794 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=400 -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