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.0009848/0.0009849, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006337/0.006337, allocations: 170.2 kB / 16.27 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.375/2.375, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006171/0.0006171, allocations: 16 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7432, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001867/0.7452, allocations: 1.328 MB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.7467, allocations: 0.9113 MB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.7468, allocations: 1.094 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.7468, allocations: 5.281 kB / 0.9572 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.7471, allocations: 18.55 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.7474, allocations: 104.2 kB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.7476, allocations: 66.45 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7477, allocations: 13.53 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.7478, allocations: 37.39 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.748, allocations: 36.3 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.748, allocations: 2.312 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.7485, allocations: 278.3 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.7486, allocations: 9.391 kB / 0.9578 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.7486, allocations: 54 kB / 0.9578 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.7489, allocations: 142.7 kB / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7489, allocations: 0 / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/0.749, allocations: 0 / 0.958 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.749, allocations: 3.938 kB / 0.958 GB, free: 5.395 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.0006412/0.7496, allocations: 403.4 kB / 0.9584 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7497, allocations: 8.531 kB / 0.9584 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.7498, allocations: 15.31 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.75, allocations: 192 kB / 0.9586 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.75, allocations: 1.469 kB / 0.9586 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.7501, allocations: 18.36 kB / 0.9586 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7503, allocations: 66.33 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7503, allocations: 0 / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7503, allocations: 0 / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.7503, allocations: 1.219 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.7505, allocations: 51.81 kB / 0.9587 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.751, allocations: 300.4 kB / 0.959 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.7512, allocations: 65.08 kB / 0.959 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.7513, allocations: 30.31 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.7513, allocations: 4.062 kB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.7513, allocations: 40.47 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.7514, allocations: 0 / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004638/0.7518, allocations: 117 kB / 0.9592 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.7519, allocations: 52.91 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.752, allocations: 131.6 kB / 0.9594 GB, free: 4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.752, allocations: 29.7 kB / 0.9594 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.7521, allocations: 95.81 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.7521, allocations: 17.06 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.7521, allocations: 15.84 kB / 0.9596 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.7522, allocations: 324.8 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.7523, allocations: 25.17 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.7524, allocations: 24.42 kB / 0.9599 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.7526, allocations: 64.11 kB / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7526, allocations: 0 / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002321/0.7528, allocations: 108.5 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7528, allocations: 11.22 kB / 0.9601 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7528, allocations: 3.938 kB / 0.9601 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7529, allocations: 0 / 0.9601 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.753, allocations: 17.73 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.753, allocations: 0 / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.7531, allocations: 5.5 kB / 0.9601 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.7531, allocations: 9.297 kB / 0.9601 GB, free: 3.375 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.798e-05/0.7532, allocations: 116.6 kB / 0.9602 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.7532, allocations: 8.031 kB / 0.9602 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.7535, allocations: 107.2 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.7535, allocations: 5.359 kB / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7535, allocations: 0 / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7535, allocations: 4 kB / 0.9603 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.7537, allocations: 187.3 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7537, allocations: 1.375 kB / 0.9605 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.7538, allocations: 16.36 kB / 0.9605 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7538, allocations: 0 / 0.9605 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.7538, allocations: 1.375 kB / 0.9605 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7538, allocations: 3.938 kB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7538, allocations: 0 / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.7541, allocations: 204.7 kB / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.7541, allocations: 82.39 kB / 0.9608 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.7541, allocations: 1.375 kB / 0.9608 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.7542, allocations: 9.484 kB / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.7543, allocations: 2.75 kB / 0.9608 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.7543, allocations: 9.562 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.7543, allocations: 103.6 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7543, allocations: 0 / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002511/0.7546, allocations: 27.25 kB / 0.961 GB, free: 2.566 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.0001862/0.7548, allocations: 105.4 kB / 0.9611 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.755, allocations: 77.14 kB / 0.9611 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.755, allocations: 0 / 0.9611 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.7551, allocations: 29.98 kB / 0.9612 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.7555, allocations: 9.5 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.7559, allocations: 234.5 kB / 0.9614 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.7561, allocations: 0.6902 MB / 0.9621 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.792e-05/0.7562, allocations: 14.69 kB / 0.9621 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.7562, allocations: 14.55 kB / 0.9621 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7562, allocations: 2.094 kB / 0.9621 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.004024/0.7603, allocations: 0.9939 MB / 0.9631 GB, free: 1.004 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