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.001438/0.001438, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001888/0.001888, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.44/2.44, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7165, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002534/0.7191, allocations: 1.668 MB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.7203, allocations: 0.9073 MB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.7204, allocations: 1.531 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.7204, allocations: 0 / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.7206, allocations: 23.12 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.7209, allocations: 120 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.721, allocations: 67.36 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.7211, allocations: 22.28 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.7212, allocations: 33.84 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.7213, allocations: 36.75 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.7213, allocations: 5.125 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.7216, allocations: 285.2 kB / 0.9522 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.7217, allocations: 17.2 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.7217, allocations: 31.88 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.7219, allocations: 147.6 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7219, allocations: 4 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7219, allocations: 0 / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7219, allocations: 1.25 kB / 0.9524 GB, free: 6.57 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.0004816/0.7224, allocations: 405.7 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7225, allocations: 9.688 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.7226, allocations: 15.97 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7227, allocations: 193.4 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-06/0.7227, allocations: 1.781 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.7227, allocations: 6.969 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.7229, allocations: 65.56 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.7229, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7229, allocations: 1.656 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.7229, allocations: 3.938 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.7231, allocations: 44.03 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.7234, allocations: 299.8 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.7236, allocations: 52.36 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.7236, allocations: 39.31 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.7237, allocations: 0 / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.7237, allocations: 35.91 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.7237, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003138/0.724, allocations: 103.2 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/0.724, allocations: 51.41 kB / 0.9536 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.7241, allocations: 137.2 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.7241, allocations: 25.7 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.7242, allocations: 100.3 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.7242, allocations: 17.38 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.7242, allocations: 21.58 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.7243, allocations: 317.5 kB / 0.9542 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.7244, allocations: 32.47 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.7244, allocations: 24.7 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.7246, allocations: 51.67 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7246, allocations: 8.969 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.7248, allocations: 89.36 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7248, allocations: 4.875 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.7248, allocations: 0.9375 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.7248, allocations: 0 / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.7249, allocations: 22.77 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.7249, allocations: 0.7812 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.725, allocations: 7.141 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.725, allocations: 5.75 kB / 0.9545 GB, free: 4.551 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 4.917e-05/0.7251, allocations: 112.7 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.7251, allocations: 8.844 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.7253, allocations: 98.52 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.7253, allocations: 1.469 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7253, allocations: 3.984 kB / 0.9547 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7253, allocations: 1.125 kB / 0.9547 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7255, allocations: 187.1 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7255, allocations: 0 / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.7256, allocations: 22.55 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7256, allocations: 1.312 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.7256, allocations: 0 / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7256, allocations: 1.094 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7256, allocations: 0 / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.7258, allocations: 192.9 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.7259, allocations: 87.33 kB / 0.9552 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.7259, allocations: 4.172 kB / 0.9552 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.726, allocations: 7.25 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.726, allocations: 2.281 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.726, allocations: 6.266 kB / 0.9552 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.7261, allocations: 108 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7261, allocations: 0 / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002427/0.7263, allocations: 18.06 kB / 0.9553 GB, free: 3.75 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.0001516/0.7265, allocations: 126.7 kB / 0.9554 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.7267, allocations: 53.91 kB / 0.9555 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7267, allocations: 0 / 0.9555 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.7268, allocations: 34.3 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.7271, allocations: 17.56 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.7275, allocations: 205.1 kB / 0.9557 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.7276, allocations: 0.6897 MB / 0.9564 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.7277, allocations: 4.031 kB / 0.9564 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.7277, allocations: 13.86 kB / 0.9564 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7277, allocations: 0 / 0.9564 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.003203/0.7309, allocations: 1.048 MB / 0.9574 GB, free: 2.18 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