Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001422/0.001422, allocations: 106.6 kB / 16.37 MB, free: 6.477 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.00119/0.00119, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 75.14 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2755, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003357/0.2789, allocations: 2.159 MB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2807, allocations: 1.033 MB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2808, allocations: 7.938 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.568e-05/0.281, allocations: 27.66 kB / 0.9543 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.2813, allocations: 87.28 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.2818, allocations: 187.5 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.2821, allocations: 306.6 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2823, allocations: 56.58 kB / 0.9549 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2824, allocations: 111.6 kB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.2827, allocations: 143.3 kB / 0.9551 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.2827, allocations: 20 kB / 0.9551 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.2831, allocations: 291.6 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.2832, allocations: 47.78 kB / 0.9555 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2833, allocations: 115.3 kB / 0.9556 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.2837, allocations: 346.7 kB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2837, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2837, allocations: 0 / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2838, allocations: 0 / 0.9559 GB, free: 3.125 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001084/0.2848, allocations: 0.6155 MB / 0.9565 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2849, allocations: 12.03 kB / 0.9565 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.2851, allocations: 40.55 kB / 0.9566 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.2856, allocations: 287.5 kB / 0.9568 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2856, allocations: 8.656 kB / 0.9568 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.2857, allocations: 24.06 kB / 0.9569 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.2862, allocations: 232.5 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2862, allocations: 0 / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2862, allocations: 4 kB / 0.9571 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2862, allocations: 8 kB / 0.9571 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.2869, allocations: 199.8 kB / 0.9573 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2881, allocations: 0.9384 MB / 0.9582 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.2888, allocations: 245.1 kB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.2891, allocations: 109.5 kB / 0.9585 GB, free: 228 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2892, allocations: 8.297 kB / 0.9586 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2892, allocations: 38.56 kB / 0.9586 GB, free: 172 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.2892, allocations: 0 / 0.9586 GB, free: 172 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.2904, allocations: 341.5 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.2904, allocations: 77.11 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.2907, allocations: 263 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.2907, allocations: 29.7 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2909, allocations: 168.1 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.2909, allocations: 47.25 kB / 0.9595 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.291, allocations: 49.61 kB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2912, allocations: 334.8 kB / 0.9598 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.2915, allocations: 91.92 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.2918, allocations: 147.5 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.2924, allocations: 229.8 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2925, allocations: 7.938 kB / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008038/0.2933, allocations: 293 kB / 0.9606 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2933, allocations: 8 kB / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2933, allocations: 0 / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2933, allocations: 8.156 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.2936, allocations: 59.89 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2936, allocations: 3.984 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2939, allocations: 43.75 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2939, allocations: 4 kB / 0.9607 GB, free: 13.89 MB / 0.7481 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.0001334/0.294, allocations: 139.7 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2942, allocations: 27.72 kB / 0.9609 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.2949, allocations: 299.1 kB / 0.9611 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.295, allocations: 0 / 0.9611 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.295, allocations: 7.938 kB / 0.9611 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.295, allocations: 3.984 kB / 0.9612 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.2954, allocations: 293.4 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2954, allocations: 0 / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.2956, allocations: 55.89 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2957, allocations: 0 / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2957, allocations: 4 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2957, allocations: 8 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2957, allocations: 0 / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.2965, allocations: 444.4 kB / 0.9619 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.2966, allocations: 96.83 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.2966, allocations: 8 kB / 0.962 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.2969, allocations: 27.95 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.297, allocations: 19.92 kB / 0.9621 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.297, allocations: 4 kB / 0.9621 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001778/0.2972, allocations: 190 kB / 0.9623 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.2972, allocations: 4 kB / 0.9623 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003689/0.2976, allocations: 59.84 kB / 0.9623 GB, free: 12.14 MB / 0.7481 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.0002021/0.2978, allocations: 119.5 kB / 0.9624 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000727/0.2985, allocations: 223.9 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2985, allocations: 384 / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.2989, allocations: 127.7 kB / 0.9628 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.2995, allocations: 81.47 kB / 0.9628 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.3003, allocations: 434.9 kB / 0.9633 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3006, allocations: 0.7518 MB / 0.964 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.3008, allocations: 34.27 kB / 0.964 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.3008, allocations: 27.44 kB / 0.964 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.3008, allocations: 0 / 0.964 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.00786/0.3087, allocations: 3.94 MB / 0.9679 GB, free: 6.426 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches