Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001116/0.001116, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001208/0.001208, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8798/0.8798, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.9 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.39e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002182/0.002206, allocations: 2.063 MB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003415, allocations: 1.017 MB / 0.9853 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003519, allocations: 7.938 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.00357, allocations: 23.67 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.003847, allocations: 87.16 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.004152, allocations: 199.4 kB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.004394, allocations: 302.6 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.004557, allocations: 48.83 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.004701, allocations: 151.6 kB / 0.986 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.004861, allocations: 111.7 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.00489, allocations: 24 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.005173, allocations: 267.7 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.005209, allocations: 55.75 kB / 0.9865 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.005267, allocations: 71.83 kB / 0.9865 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.005798, allocations: 374.6 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0058, allocations: 4 kB / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005802, allocations: 0 / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005806, allocations: 0 / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006998/0.006506, allocations: 0.5515 MB / 0.9874 GB, free: 12.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.006551, allocations: 12.03 kB / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.006697, allocations: 44.69 kB / 0.9875 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.006966, allocations: 224.7 kB / 0.9877 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.006981, allocations: 12.66 kB / 0.9877 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.006999, allocations: 12.38 kB / 0.9877 GB, free: 12.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.007319, allocations: 230.3 kB / 0.988 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007329, allocations: 8.188 kB / 0.988 GB, free: 12.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.007345, allocations: 4.375 kB / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007353, allocations: 7.938 kB / 0.988 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.007709, allocations: 195.8 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.008402, allocations: 0.8327 MB / 0.989 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.008843, allocations: 233.2 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.00901, allocations: 97.64 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.009031, allocations: 4 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.009049, allocations: 42.48 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.00905, allocations: 0 / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0006566/0.009707, allocations: 341.9 kB / 0.9897 GB, free: 10.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.009748, allocations: 89.05 kB / 0.9897 GB, free: 10.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.009926, allocations: 260.2 kB / 0.99 GB, free: 9.883 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.00994, allocations: 25.7 kB / 0.99 GB, free: 9.852 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.01003, allocations: 168.3 kB / 0.9902 GB, free: 9.684 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01006, allocations: 55.55 kB / 0.9902 GB, free: 9.629 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.01011, allocations: 37.7 kB / 0.9903 GB, free: 9.586 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.0102, allocations: 338.8 kB / 0.9906 GB, free: 9.246 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.01037, allocations: 91.84 kB / 0.9907 GB, free: 9.156 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01055, allocations: 144.5 kB / 0.9908 GB, free: 8.996 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.0109, allocations: 241.7 kB / 0.991 GB, free: 8.738 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0109, allocations: 0 / 0.991 GB, free: 8.738 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004338/0.01133, allocations: 297.2 kB / 0.9913 GB, free: 8.441 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01135, allocations: 4 kB / 0.9913 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01136, allocations: 4 kB / 0.9913 GB, free: 8.434 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01137, allocations: 3.938 kB / 0.9913 GB, free: 8.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01151, allocations: 68.03 kB / 0.9914 GB, free: 8.363 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01152, allocations: 4 kB / 0.9914 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01163, allocations: 35.86 kB / 0.9914 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01164, allocations: 8 kB / 0.9915 GB, free: 8.316 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.639e-05/0.01173, allocations: 133.7 kB / 0.9916 GB, free: 8.176 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.01178, allocations: 27.86 kB / 0.9916 GB, free: 8.148 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.01224, allocations: 299.1 kB / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01224, allocations: 7.938 kB / 0.9919 GB, free: 7.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.01225, allocations: 4 kB / 0.9919 GB, free: 7.836 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01225, allocations: 3.984 kB / 0.9919 GB, free: 7.832 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01245, allocations: 201.2 kB / 0.9921 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01245, allocations: 0 / 0.9921 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01257, allocations: 59.89 kB / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01257, allocations: 0 / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01258, allocations: 0 / 0.9922 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01258, allocations: 4 kB / 0.9922 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01259, allocations: 3.938 kB / 0.9922 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.01303, allocations: 445 kB / 0.9926 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.01306, allocations: 31.75 kB / 0.9926 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01308, allocations: 0 / 0.9926 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.0132, allocations: 31.95 kB / 0.9926 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.01325, allocations: 27.78 kB / 0.9927 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01326, allocations: 8 kB / 0.9927 GB, free: 6.992 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001149/0.01338, allocations: 191.1 kB / 0.9929 GB, free: 6.809 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01338, allocations: 0 / 0.9929 GB, free: 6.809 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002273/0.0136, allocations: 55.94 kB / 0.9929 GB, free: 6.754 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001462/0.01375, allocations: 111.2 kB / 0.993 GB, free: 6.637 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.01414, allocations: 223.7 kB / 0.9932 GB, free: 6.418 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01414, allocations: 0 / 0.9932 GB, free: 6.418 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01432, allocations: 112.3 kB / 0.9933 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01467, allocations: 85.47 kB / 0.9934 GB, free: 6.219 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.01541, allocations: 465.7 kB / 0.9939 GB, free: 5.727 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.0155, allocations: 147 kB / 0.994 GB, free: 5.562 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.01556, allocations: 32.5 kB / 0.994 GB, free: 5.531 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.01556, allocations: 0 / 0.994 GB, free: 5.531 MB / 0.948 GB Notification: Performance of Templates: time 0.003761/0.01932, allocations: 3.568 MB / 0.9975 GB, free: 2.004 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: 6.849218807183206]