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.001658/0.001658, 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.002083/0.002083, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.358/2.358, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6416, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002643/0.6443, allocations: 1.671 MB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.6455, allocations: 0.9224 MB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.6455, allocations: 5.312 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.6456, allocations: 0 / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.6458, allocations: 18.59 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.646, allocations: 100.6 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.6461, allocations: 77.98 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.6462, allocations: 18.22 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.6463, allocations: 34.33 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.6464, allocations: 32.47 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.6464, allocations: 2.844 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.6468, allocations: 290 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.6468, allocations: 5.562 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.6468, allocations: 35.83 kB / 0.952 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.647, allocations: 143.1 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.647, allocations: 0 / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.647, allocations: 7.922 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.6471, allocations: 0 / 0.9522 GB, free: 6.621 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.0004421/0.6475, allocations: 402.6 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6475, allocations: 10.06 kB / 0.9526 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.6477, allocations: 19.69 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6478, allocations: 186.4 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.6478, allocations: 5.688 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.6478, allocations: 6.781 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.648, allocations: 63.53 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.648, allocations: 0 / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.648, allocations: 0 / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6481, allocations: 1.469 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.6482, allocations: 50.92 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.6486, allocations: 292.1 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6487, allocations: 56.77 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.6488, allocations: 30.41 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.6488, allocations: 1.344 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.6488, allocations: 39.88 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.6488, allocations: 0 / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000335/0.6492, allocations: 106.8 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.6492, allocations: 51.41 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.6493, allocations: 136.2 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.6493, allocations: 26.95 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.6493, allocations: 90.92 kB / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.6494, allocations: 22.5 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.6494, allocations: 17.92 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.6495, allocations: 324.2 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.6495, allocations: 20.55 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.6496, allocations: 33.67 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.6497, allocations: 55.52 kB / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6498, allocations: 0 / 0.9542 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001948/0.65, allocations: 86.52 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.65, allocations: 8.312 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.65, allocations: 0 / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.65, allocations: 5.359 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6501, allocations: 9.875 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6501, allocations: 9.172 kB / 0.9543 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.6502, allocations: 8.312 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.6502, allocations: 3.938 kB / 0.9543 GB, free: 4.613 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 5.439e-05/0.6503, allocations: 121 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.6503, allocations: 8.438 kB / 0.9544 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.6506, allocations: 95.42 kB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6506, allocations: 5.156 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6506, allocations: 0 / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6506, allocations: 1 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.6507, allocations: 191.1 kB / 0.9547 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6507, allocations: 0 / 0.9547 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.6508, allocations: 14.45 kB / 0.9547 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6508, allocations: 1.344 kB / 0.9547 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6508, allocations: 4.234 kB / 0.9547 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6509, allocations: 9.188 kB / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6509, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.6511, allocations: 188.5 kB / 0.9549 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.6511, allocations: 87.25 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.6511, allocations: 4.938 kB / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.6512, allocations: 3.625 kB / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.6513, allocations: 9.531 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.6513, allocations: 2.812 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.6513, allocations: 108.8 kB / 0.9551 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6513, allocations: 0 / 0.9551 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002465/0.6516, allocations: 22.66 kB / 0.9551 GB, free: 3.801 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.0001786/0.6518, allocations: 110.2 kB / 0.9552 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.652, allocations: 56.78 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.652, allocations: 0 / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.6521, allocations: 34.42 kB / 0.9553 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.6524, allocations: 13.11 kB / 0.9553 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.6528, allocations: 206.9 kB / 0.9555 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.6529, allocations: 0.6939 MB / 0.9562 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.653, allocations: 7.141 kB / 0.9562 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.653, allocations: 10.97 kB / 0.9562 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of SimCode: time 4.4e-07/0.653, allocations: 0 / 0.9562 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of Templates: time 0.003328/0.6564, allocations: 1.016 MB / 0.9572 GB, free: 2.262 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/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