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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000944/0.0009439, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.779, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001801/0.7809, allocations: 1.325 MB / 0.957 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.7823, allocations: 0.9158 MB / 0.9579 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.7824, allocations: 0 / 0.9579 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.7824, allocations: 5.062 kB / 0.9579 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.7826, allocations: 23.09 kB / 0.9579 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.7829, allocations: 96.23 kB / 0.958 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.783, allocations: 69.28 kB / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.7831, allocations: 18.38 kB / 0.9581 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.7832, allocations: 42 kB / 0.9581 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.7833, allocations: 27.52 kB / 0.9582 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.7834, allocations: 2.062 kB / 0.9582 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.7837, allocations: 278.1 kB / 0.9584 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.7838, allocations: 14.02 kB / 0.9585 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.7838, allocations: 45.33 kB / 0.9585 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.784, allocations: 98.91 kB / 0.9586 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.784, allocations: 3.938 kB / 0.9586 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.784, allocations: 4.812 kB / 0.9586 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.784, allocations: 0 / 0.9586 GB, free: 5.484 MB / 0.7169 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.0004766/0.7845, allocations: 406.1 kB / 0.959 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7845, allocations: 9.812 kB / 0.959 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.7847, allocations: 14.98 kB / 0.959 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7848, allocations: 187.2 kB / 0.9592 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7848, allocations: 7.188 kB / 0.9592 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.7848, allocations: 5.375 kB / 0.9592 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.785, allocations: 66.67 kB / 0.9593 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.785, allocations: 0 / 0.9593 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.7851, allocations: 3.984 kB / 0.9593 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7851, allocations: 2.062 kB / 0.9593 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.7852, allocations: 50.72 kB / 0.9593 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.7856, allocations: 300.9 kB / 0.9596 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.7858, allocations: 59.77 kB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.7859, allocations: 35.28 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.7859, allocations: 3.984 kB / 0.9597 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.7859, allocations: 35.59 kB / 0.9597 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.7859, allocations: 0 / 0.9597 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003686/0.7863, allocations: 122.9 kB / 0.9599 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.7863, allocations: 51.41 kB / 0.9599 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.7864, allocations: 137.2 kB / 0.96 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.7865, allocations: 25.7 kB / 0.9601 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.7865, allocations: 91.73 kB / 0.9601 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.7865, allocations: 25.55 kB / 0.9602 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.7866, allocations: 11.5 kB / 0.9602 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.7866, allocations: 320.2 kB / 0.9605 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.7867, allocations: 28.47 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.7868, allocations: 28.55 kB / 0.9605 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.787, allocations: 67.2 kB / 0.9606 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.787, allocations: 0 / 0.9606 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002066/0.7872, allocations: 101.5 kB / 0.9607 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7872, allocations: 9.5 kB / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7872, allocations: 0 / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7872, allocations: 0 / 0.9607 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7874, allocations: 16.36 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.7874, allocations: 1.375 kB / 0.9607 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.7874, allocations: 9.484 kB / 0.9607 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.7874, allocations: 5.312 kB / 0.9607 GB, free: 3.473 MB / 0.7169 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 6.493e-05/0.7875, allocations: 116.6 kB / 0.9608 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.7876, allocations: 8.031 kB / 0.9609 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.7878, allocations: 111.1 kB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7878, allocations: 5.312 kB / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.7878, allocations: 0 / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7879, allocations: 0 / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.788, allocations: 195.3 kB / 0.9612 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.788, allocations: 0 / 0.9612 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.7881, allocations: 17.73 kB / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7881, allocations: 0 / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7881, allocations: 1.375 kB / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7881, allocations: 0 / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7881, allocations: 0 / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.7884, allocations: 208.9 kB / 0.9614 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.7884, allocations: 82.39 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.7884, allocations: 5.359 kB / 0.9615 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.7885, allocations: 9.5 kB / 0.9615 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.7886, allocations: 6.734 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.7886, allocations: 1.375 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.7886, allocations: 105.5 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 0 / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002531/0.7889, allocations: 23.25 kB / 0.9616 GB, free: 2.66 MB / 0.7169 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.0001959/0.7891, allocations: 113.4 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.7893, allocations: 69.16 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7893, allocations: 0 / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.7894, allocations: 29.67 kB / 0.9618 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.7898, allocations: 12.7 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.7902, allocations: 258.3 kB / 0.9621 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.7903, allocations: 0.6896 MB / 0.9627 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.7904, allocations: 14.8 kB / 0.9627 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7904, allocations: 0 / 0.9627 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.003051/0.7934, allocations: 1.102 MB / 0.9638 GB, free: 1.02 MB / 0.7169 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/jenkins1/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