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.002024/0.002024, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002401/0.002401, allocations: 161 kB / 22.46 MB, free: 5.375 MB / 14.72 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.948/2.948, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.663e-06/1.663e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.402e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003588/0.003622, allocations: 2.073 MB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.005567, allocations: 1.001 MB / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.005674, allocations: 7.938 kB / 0.9845 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.005732, allocations: 23.67 kB / 0.9845 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.006059, allocations: 103.1 kB / 0.9846 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.00652, allocations: 187.5 kB / 0.9848 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.006902, allocations: 310.5 kB / 0.9851 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.007058, allocations: 40.91 kB / 0.9851 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.007291, allocations: 151.7 kB / 0.9853 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.007535, allocations: 123.5 kB / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.00758, allocations: 16 kB / 0.9854 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.008068, allocations: 279.6 kB / 0.9857 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.996e-05/0.008148, allocations: 51.81 kB / 0.9857 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.00826, allocations: 75.77 kB / 0.9858 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.008805, allocations: 370.7 kB / 0.9861 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.008814, allocations: 8 kB / 0.9861 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008815, allocations: 0 / 0.9861 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.008826, allocations: 0 / 0.9861 GB, free: 7.109 MB / 0.9356 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.001237/0.01006, allocations: 0.5476 MB / 0.9867 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.0101, allocations: 8.031 kB / 0.9867 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.01036, allocations: 44.69 kB / 0.9867 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.01083, allocations: 228.6 kB / 0.9869 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.01086, allocations: 8.656 kB / 0.987 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.01089, allocations: 20.38 kB / 0.987 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.01152, allocations: 225.8 kB / 0.9872 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01153, allocations: 4.125 kB / 0.9872 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.01156, allocations: 8.375 kB / 0.9872 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.01157, allocations: 11.92 kB / 0.9872 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.0123, allocations: 191.8 kB / 0.9874 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01358, allocations: 0.8367 MB / 0.9882 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.01446, allocations: 225.2 kB / 0.9884 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.01483, allocations: 97.64 kB / 0.9885 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.01486, allocations: 12.3 kB / 0.9885 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.01489, allocations: 34.56 kB / 0.9886 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01489, allocations: 0 / 0.9886 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001324/0.01622, allocations: 345.1 kB / 0.9889 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.01628, allocations: 77.11 kB / 0.989 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.01658, allocations: 264.2 kB / 0.9892 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.01661, allocations: 29.7 kB / 0.9893 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.01676, allocations: 164.3 kB / 0.9894 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.01682, allocations: 59.48 kB / 0.9895 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.0169, allocations: 41.7 kB / 0.9895 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.01707, allocations: 338.8 kB / 0.9898 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.01743, allocations: 87.91 kB / 0.9899 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.01787, allocations: 148.3 kB / 0.9901 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/0.01863, allocations: 241.7 kB / 0.9903 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01863, allocations: 0 / 0.9903 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009344/0.01957, allocations: 293.8 kB / 0.9906 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01959, allocations: 8 kB / 0.9906 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01959, allocations: 0 / 0.9906 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.01961, allocations: 7.938 kB / 0.9906 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.01994, allocations: 67.88 kB / 0.9906 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01994, allocations: 0 / 0.9906 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.0202, allocations: 43.8 kB / 0.9907 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.02022, allocations: 8.062 kB / 0.9907 GB, free: 2.184 MB / 0.9356 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 0.0001419/0.02036, allocations: 133.8 kB / 0.9908 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.02048, allocations: 27.84 kB / 0.9908 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/0.02142, allocations: 291.2 kB / 0.9911 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02143, allocations: 3.938 kB / 0.9911 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02143, allocations: 4 kB / 0.9911 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02144, allocations: 3.984 kB / 0.9911 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.02182, allocations: 205.2 kB / 0.9913 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.02182, allocations: 0 / 0.9913 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.0221, allocations: 47.95 kB / 0.9914 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.02211, allocations: 4 kB / 0.9914 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.02213, allocations: 8.281 kB / 0.9914 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.02213, allocations: 7.938 kB / 0.9914 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.02214, allocations: 3.938 kB / 0.9914 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.02313, allocations: 438.4 kB / 0.9918 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.02318, allocations: 27.81 kB / 0.9918 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.02322, allocations: 8 kB / 0.9919 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.0235, allocations: 23.95 kB / 0.9919 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.0236, allocations: 23.91 kB / 0.9919 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.02362, allocations: 8 kB / 0.9919 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002059/0.02382, allocations: 187.1 kB / 0.9921 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.02382, allocations: 3.938 kB / 0.9921 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004047/0.02423, allocations: 59.88 kB / 0.9921 GB, free: 0.6328 MB / 0.9356 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.0002986/0.02453, allocations: 119.2 kB / 0.9923 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008452/0.02537, allocations: 212 kB / 0.9925 GB, free: 308 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02537, allocations: 4.062 kB / 0.9925 GB, free: 304 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.02577, allocations: 119.8 kB / 0.9926 GB, free: 184 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.02638, allocations: 78.38 kB / 0.9927 GB, free: 104 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.02731, allocations: 443.9 kB / 0.9931 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.02749, allocations: 147.1 kB / 0.9932 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.02763, allocations: 30.44 kB / 0.9932 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.02771, allocations: 24.5 kB / 0.9933 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.02771, allocations: 0 / 0.9933 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.009825/0.03753, allocations: 4.239 MB / 0.9974 GB, free: 11.29 MB / 0.9512 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: 8.516204185783863]