Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001117/0.001117, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 69.34 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003226/0.2983, allocations: 2.171 MB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2998, allocations: 1.037 MB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.2999, allocations: 7.938 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/0.3, allocations: 23.67 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.3003, allocations: 83.28 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3007, allocations: 195.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.301, allocations: 294.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.3011, allocations: 56.72 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3013, allocations: 111.5 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.3015, allocations: 139.4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.3015, allocations: 19.98 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.3019, allocations: 295.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.302, allocations: 55.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3021, allocations: 119.3 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3024, allocations: 330.9 kB / 1.032 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3024, allocations: 0 / 1.032 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3024, allocations: 0 / 1.032 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3024, allocations: 0 / 1.032 GB, free: 13.15 MB / 0.8106 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.001012/0.3035, allocations: 0.6272 MB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3035, allocations: 8.031 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.3037, allocations: 32.66 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3041, allocations: 295.3 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3041, allocations: 16.59 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3042, allocations: 16.38 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.3047, allocations: 237.4 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3047, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3047, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3047, allocations: 8 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.3054, allocations: 199.7 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.3065, allocations: 0.9345 MB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.3073, allocations: 245.2 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.3076, allocations: 105.6 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.3076, allocations: 4.25 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3077, allocations: 42.53 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3077, allocations: 4 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001097/0.3088, allocations: 329.1 kB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3088, allocations: 77.11 kB / 1.035 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3091, allocations: 271 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3091, allocations: 33.7 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3092, allocations: 160.1 kB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3093, allocations: 51.2 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.3093, allocations: 45.7 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3095, allocations: 334.8 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.3098, allocations: 91.91 kB / 1.036 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.3101, allocations: 144.4 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.3107, allocations: 238.4 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3107, allocations: 0 / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008071/0.3115, allocations: 297 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3116, allocations: 11.22 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3116, allocations: 8.078 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3116, allocations: 8 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.3119, allocations: 63.89 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3119, allocations: 4 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3121, allocations: 39.8 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3122, allocations: 4 kB / 1.036 GB, free: 7.926 MB / 0.8106 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.0001167/0.3123, allocations: 141.7 kB / 1.036 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3124, allocations: 31.56 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.3132, allocations: 291.1 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3132, allocations: 4 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3132, allocations: 0 / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3132, allocations: 0 / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.3136, allocations: 293.3 kB / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3136, allocations: 7.922 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3138, allocations: 55.95 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3139, allocations: 0 / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3139, allocations: 4 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3139, allocations: 4 kB / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3139, allocations: 0 / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.3147, allocations: 448 kB / 1.038 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.3148, allocations: 108.6 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.3148, allocations: 4 kB / 1.038 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3151, allocations: 23.97 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3152, allocations: 19.97 kB / 1.038 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3152, allocations: 8 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3153, allocations: 190 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3153, allocations: 192 / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003627/0.3157, allocations: 60.25 kB / 1.038 GB, free: 6.164 MB / 0.8106 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.000187/0.3159, allocations: 119.1 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006929/0.3166, allocations: 224 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3166, allocations: 0 / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.317, allocations: 119.8 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.3175, allocations: 77.56 kB / 1.038 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.3182, allocations: 450.7 kB / 1.039 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3186, allocations: 0.7519 MB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.3187, allocations: 26.28 kB / 1.04 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.3188, allocations: 23.44 kB / 1.04 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3188, allocations: 0 / 1.04 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of Templates: time 0.007267/0.326, allocations: 3.95 MB / 1.044 GB, free: 468 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches