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.001142/0.001143, allocations: 108 kB / 15.61 MB, free: 148 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.001178/0.001178, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.349/2.349, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6847, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.0025/0.6873, allocations: 1.607 MB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6885, allocations: 0.8996 MB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.6885, allocations: 1.219 kB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.6886, allocations: 7.875 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.6888, allocations: 23.59 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.6891, allocations: 144.3 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.6892, allocations: 79.12 kB / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.6893, allocations: 14.14 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.6894, allocations: 30.23 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.6895, allocations: 40.55 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.6896, allocations: 4.219 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.6899, allocations: 285.1 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.6899, allocations: 18.3 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.69, allocations: 23.81 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.6902, allocations: 155.6 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6902, allocations: 0 / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6902, allocations: 0 / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6902, allocations: 1.281 kB / 0.9528 GB, free: 6.68 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.0004924/0.6907, allocations: 402 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6907, allocations: 9.25 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.6909, allocations: 19.17 kB / 0.9532 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.691, allocations: 191.8 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.691, allocations: 1.625 kB / 0.9534 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.691, allocations: 6.625 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.6912, allocations: 70.19 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6912, allocations: 0 / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6912, allocations: 5.219 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6912, allocations: 0 / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.6914, allocations: 44 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.6918, allocations: 292.4 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.6919, allocations: 56.75 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.692, allocations: 30.66 kB / 0.9539 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.692, allocations: 1.125 kB / 0.9539 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.692, allocations: 31.75 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.692, allocations: 0 / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003384/0.6924, allocations: 110.5 kB / 0.954 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.6924, allocations: 55.34 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.6925, allocations: 132.9 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.6925, allocations: 27.2 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.6926, allocations: 98.64 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.6926, allocations: 22.61 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.6926, allocations: 17.31 kB / 0.9544 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.6927, allocations: 325.6 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.6928, allocations: 20.95 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.6928, allocations: 27.8 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.693, allocations: 56.58 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.693, allocations: 0 / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002041/0.6932, allocations: 89.28 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6932, allocations: 5.812 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6932, allocations: 3.938 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6933, allocations: 3.984 kB / 0.9549 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.6934, allocations: 19.52 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6934, allocations: 0 / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.6935, allocations: 8.188 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.6935, allocations: 5.75 kB / 0.9549 GB, free: 4.664 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.01e-05/0.6935, allocations: 116.4 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.6936, allocations: 8.156 kB / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.6938, allocations: 102.7 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6938, allocations: 4.969 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6939, allocations: 1.156 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6939, allocations: 3.984 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.694, allocations: 186.9 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.694, allocations: 1.125 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.6941, allocations: 14.42 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6941, allocations: 0 / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.6941, allocations: 0.875 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6941, allocations: 1.031 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6942, allocations: 0 / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.6944, allocations: 192.9 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.6944, allocations: 83.67 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.6945, allocations: 0 / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.6945, allocations: 7.781 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.6946, allocations: 10.39 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6946, allocations: 1.188 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.6947, allocations: 110.5 kB / 0.9557 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6947, allocations: 0 / 0.9557 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002501/0.6949, allocations: 26.48 kB / 0.9557 GB, free: 3.855 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.0002135/0.6951, allocations: 106.1 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.6954, allocations: 57.89 kB / 0.9559 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6954, allocations: 3.938 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.6955, allocations: 37.67 kB / 0.9559 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.6958, allocations: 15.61 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.6963, allocations: 192 kB / 0.9561 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.6964, allocations: 0.6935 MB / 0.9568 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.955e-05/0.6965, allocations: 4.281 kB / 0.9568 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.6965, allocations: 18.38 kB / 0.9568 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6965, allocations: 0 / 0.9568 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003581/0.7001, allocations: 1.099 MB / 0.9579 GB, free: 2.277 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