Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01358/0.01358, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001865/0.001865, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 60.36 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8175, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003118/0.8206, allocations: 2.156 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.8223, allocations: 1.045 MB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.8224, allocations: 4 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.796e-05/0.8225, allocations: 23.67 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.8228, allocations: 83.22 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.8232, allocations: 188.7 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.8235, allocations: 294.9 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.8237, allocations: 60.62 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8238, allocations: 111.5 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.8241, allocations: 143.4 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.8241, allocations: 20 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.8245, allocations: 291.6 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.8246, allocations: 51.77 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.8247, allocations: 115.3 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.8251, allocations: 343.1 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8251, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8251, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8252, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 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.001007/0.8262, allocations: 0.6306 MB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8262, allocations: 12.62 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.8264, allocations: 40.73 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.8268, allocations: 291.6 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.8269, allocations: 16.66 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.8269, allocations: 12.38 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.8274, allocations: 237.5 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8274, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.8274, allocations: 12 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8275, allocations: 4 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.8281, allocations: 199.7 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.8292, allocations: 0.9385 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.8299, allocations: 241.2 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.8302, allocations: 109.9 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.8303, allocations: 7.922 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.8303, allocations: 38.5 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.8303, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001091/0.8314, allocations: 341.2 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.8314, allocations: 77.11 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.8317, allocations: 263 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.8317, allocations: 33.7 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8318, allocations: 168.2 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.8319, allocations: 55.55 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.832, allocations: 41.56 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8321, allocations: 338.8 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.8324, allocations: 87.91 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.8327, allocations: 144.2 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.8333, allocations: 241.7 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8334, allocations: 0 / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007873/0.8342, allocations: 301.1 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8342, allocations: 4 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8342, allocations: 4 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8342, allocations: 0 / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.8345, allocations: 67.88 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8345, allocations: 4.703 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.8348, allocations: 39.94 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.8348, allocations: 12 kB / 1.176 GB, free: 9.613 MB / 0.9044 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.0001118/0.8349, allocations: 133.7 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.835, allocations: 27.8 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.8358, allocations: 291.1 kB / 1.177 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8358, allocations: 4 kB / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8358, allocations: 0 / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8359, allocations: 3.984 kB / 1.177 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.8362, allocations: 293.4 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8362, allocations: 3.938 kB / 1.177 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.8365, allocations: 59.95 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8365, allocations: 0 / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8365, allocations: 7.938 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8365, allocations: 0 / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8365, allocations: 3.984 kB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.8374, allocations: 452.6 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.8374, allocations: 108.9 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.8375, allocations: 4 kB / 1.178 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.8377, allocations: 23.95 kB / 1.178 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.8378, allocations: 19.98 kB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.8378, allocations: 8.281 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001609/0.838, allocations: 190 kB / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.838, allocations: 0 / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003641/0.8384, allocations: 63.86 kB / 1.178 GB, free: 7.855 MB / 0.9044 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.0001932/0.8386, allocations: 121.6 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007112/0.8393, allocations: 231.6 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8393, allocations: 0 / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.8397, allocations: 120.2 kB / 1.178 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.8402, allocations: 73.28 kB / 1.178 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.8409, allocations: 442.7 kB / 1.179 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.8412, allocations: 0.7519 MB / 1.18 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.8413, allocations: 34.42 kB / 1.18 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.8414, allocations: 19.44 kB / 1.18 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.8414, allocations: 4 kB / 1.18 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of Templates: time 0.00743/0.8489, allocations: 3.982 MB / 1.183 GB, free: 2.102 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches