Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.354e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003136/0.00316, allocations: 1.62 MB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005138, allocations: 0.9388 MB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.005209, allocations: 3.938 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.005244, allocations: 7.922 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.005464, allocations: 24.88 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.005941, allocations: 161.2 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.006127, allocations: 85.2 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.006208, allocations: 7.984 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.006403, allocations: 51.83 kB / 0.8805 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.0065, allocations: 29.47 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.00653, allocations: 8 kB / 0.8805 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.00699, allocations: 275.6 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.007016, allocations: 15.92 kB / 0.8808 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.007056, allocations: 15.94 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.007402, allocations: 184.4 kB / 0.881 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.007406, allocations: 4 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.007407, allocations: 1.094 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.00741, allocations: 0 / 0.881 GB, free: 3.035 MB / 0.8386 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.0006234/0.008034, allocations: 343.2 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.00807, allocations: 8.031 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.008399, allocations: 40.08 kB / 0.8813 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.008647, allocations: 142.3 kB / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.008659, allocations: 384 / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.008673, allocations: 4.375 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.008863, allocations: 61.8 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.008871, allocations: 0 / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.008884, allocations: 5.25 kB / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.008888, allocations: 0 / 0.8815 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.009051, allocations: 41.06 kB / 0.8816 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.009528, allocations: 240.4 kB / 0.8818 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.009688, allocations: 58.55 kB / 0.8819 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.009777, allocations: 24.97 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.009798, allocations: 4 kB / 0.8819 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.009831, allocations: 30.56 kB / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.009831, allocations: 0 / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0004285/0.01026, allocations: 113.5 kB / 0.882 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.0103, allocations: 55.41 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01045, allocations: 139.9 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01048, allocations: 25.7 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.01055, allocations: 96.09 kB / 0.8823 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.01058, allocations: 19.83 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.01062, allocations: 13.72 kB / 0.8824 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.0108, allocations: 322.8 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.01089, allocations: 23.98 kB / 0.8827 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.01097, allocations: 24.3 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01116, allocations: 68.7 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01116, allocations: 0 / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002519/0.01141, allocations: 93.62 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01143, allocations: 7.984 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.01143, allocations: 0 / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01145, allocations: 0 / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01158, allocations: 19.97 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01158, allocations: 0 / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.01165, allocations: 11.95 kB / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01166, allocations: 0 / 0.8829 GB, free: 0.8711 MB / 0.8386 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 0.000108/0.01177, allocations: 117.8 kB / 0.883 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.01182, allocations: 15.89 kB / 0.883 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.01233, allocations: 98.11 kB / 0.8831 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01233, allocations: 0 / 0.8831 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.01234, allocations: 4 kB / 0.8831 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01234, allocations: 0 / 0.8831 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01253, allocations: 125.2 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01253, allocations: 4 kB / 0.8833 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.01263, allocations: 15.98 kB / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.01263, allocations: 0 / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.01264, allocations: 0 / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01264, allocations: 0 / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01264, allocations: 0 / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.01297, allocations: 199.5 kB / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.013, allocations: 15.89 kB / 0.8835 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01302, allocations: 4 kB / 0.8835 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.01312, allocations: 11.98 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01316, allocations: 4 kB / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01317, allocations: 0 / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.01326, allocations: 109.1 kB / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01326, allocations: 0 / 0.8836 GB, free: 100 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002589/0.01352, allocations: 16 kB / 0.8836 GB, free: 84 kB / 0.8386 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.0002289/0.01375, allocations: 123.2 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.01399, allocations: 55.91 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01399, allocations: 3.938 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.01408, allocations: 27.98 kB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01438, allocations: 23.86 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.01485, allocations: 177 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01496, allocations: 79.33 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.05e-05/0.01501, allocations: 7.984 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01505, allocations: 12.5 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01505, allocations: 0 / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.004352/0.0194, allocations: 1.153 MB / 0.8852 GB, free: 14.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.110874906997196]