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.00175/0.00175, allocations: 104.8 kB / 15.98 MB, free: 6.348 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.001955/0.001955, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.235/2.235, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 66.36 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003477/0.2991, allocations: 1.66 MB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3008, allocations: 0.8969 MB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3009, allocations: 0 / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.301, allocations: 3.938 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.3013, allocations: 27.84 kB / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3018, allocations: 123.5 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.302, allocations: 75.66 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3022, allocations: 19.98 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3023, allocations: 31.84 kB / 0.9525 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3025, allocations: 35.84 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3025, allocations: 8 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.3029, allocations: 283.6 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.303, allocations: 15.86 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.303, allocations: 27.88 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3033, allocations: 108 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3033, allocations: 0 / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3033, allocations: 0 / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3033, allocations: 4 kB / 0.953 GB, free: 5.918 MB / 0.7325 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.0006588/0.304, allocations: 407.1 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.304, allocations: 8.031 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.3042, allocations: 12.84 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3044, allocations: 196.1 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3044, allocations: 384 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3045, allocations: 12.06 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3047, allocations: 61.67 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3047, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3047, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3047, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.3049, allocations: 43.97 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3054, allocations: 296.8 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.3056, allocations: 58.48 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.3057, allocations: 28.97 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3057, allocations: 0 / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3058, allocations: 34.56 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.3058, allocations: 4 kB / 0.9541 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003813/0.3061, allocations: 101.8 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3062, allocations: 59.33 kB / 0.9543 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3063, allocations: 125.8 kB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3064, allocations: 25.7 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3064, allocations: 100 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3065, allocations: 19.75 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3065, allocations: 25.7 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3066, allocations: 322.8 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.3067, allocations: 23.92 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.3068, allocations: 28.05 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.307, allocations: 48.83 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.307, allocations: 4 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.3072, allocations: 97.56 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3073, allocations: 10.44 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3073, allocations: 0 / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3073, allocations: 0 / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3074, allocations: 15.98 kB / 0.9551 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3075, allocations: 0 / 0.9551 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.3075, allocations: 7.984 kB / 0.9551 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3075, allocations: 7.875 kB / 0.9551 GB, free: 3.555 MB / 0.7325 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 9.776e-05/0.3076, allocations: 117.8 kB / 0.9552 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.3077, allocations: 7.906 kB / 0.9552 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.308, allocations: 105.9 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.308, allocations: 4 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.308, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.308, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3082, allocations: 185.6 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3082, allocations: 4 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.3083, allocations: 15.98 kB / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3083, allocations: 0 / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3083, allocations: 256 / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3084, allocations: 4 kB / 0.9555 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3084, allocations: 4 kB / 0.9555 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3086, allocations: 187.4 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3087, allocations: 85.02 kB / 0.9558 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3087, allocations: 7.984 kB / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.3088, allocations: 0 / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.3089, allocations: 15.92 kB / 0.9558 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3089, allocations: 0 / 0.9558 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.3089, allocations: 103.2 kB / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.309, allocations: 0 / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002544/0.3092, allocations: 20 kB / 0.9559 GB, free: 2.605 MB / 0.7325 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.0002164/0.3094, allocations: 119.2 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3097, allocations: 55.91 kB / 0.9561 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3097, allocations: 0 / 0.9561 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.3098, allocations: 31.92 kB / 0.9561 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3102, allocations: 14.09 kB / 0.9561 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.3107, allocations: 237.8 kB / 0.9564 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.311, allocations: 0.6905 MB / 0.957 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.311, allocations: 23.36 kB / 0.9571 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.311, allocations: 4 kB / 0.9571 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.003122/0.3142, allocations: 1.097 MB / 0.9581 GB, free: 288 kB / 0.7325 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