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.0008601/0.0008601, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008411/0.0008411, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8677/0.8677, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.676/1.676, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.606e-05, allocations: 10.22 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002179/0.002195, allocations: 2.077 MB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003381, allocations: 1.005 MB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.003476, allocations: 7.938 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.003521, allocations: 27.66 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.003792, allocations: 83.17 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.004095, allocations: 202.5 kB / 0.9843 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.004328, allocations: 306.6 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004463, allocations: 44.89 kB / 0.9847 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.004593, allocations: 147.7 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.005003, allocations: 119.6 kB / 0.9849 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.005031, allocations: 16 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.005299, allocations: 287.6 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.005331, allocations: 43.83 kB / 0.9852 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.005387, allocations: 75.77 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.005688, allocations: 366.7 kB / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00569, allocations: 0 / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005691, allocations: 0 / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.005696, allocations: 0 / 0.9857 GB, free: 13.75 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.0006598/0.006356, allocations: 0.567 MB / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.006395, allocations: 8.031 kB / 0.9862 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.006432, allocations: 50.73 kB / 0.9863 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.006547, allocations: 40.73 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.006788, allocations: 220.7 kB / 0.9865 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.0068, allocations: 8.656 kB / 0.9865 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.006821, allocations: 16.38 kB / 0.9865 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.007129, allocations: 234.3 kB / 0.9868 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.007136, allocations: 192 / 0.9868 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.007151, allocations: 12.12 kB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007157, allocations: 4 kB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.007496, allocations: 195.8 kB / 0.987 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.008171, allocations: 0.8712 MB / 0.9878 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.008604, allocations: 237.1 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.008768, allocations: 93.64 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.008789, allocations: 4 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.008806, allocations: 42.55 kB / 0.9882 GB, free: 10.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.008807, allocations: 0 / 0.9882 GB, free: 10.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0006157/0.009423, allocations: 338 kB / 0.9885 GB, free: 10.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.009457, allocations: 81.11 kB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.009631, allocations: 276.1 kB / 0.9888 GB, free: 10.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.009644, allocations: 29.64 kB / 0.9889 GB, free: 10.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.009718, allocations: 160.3 kB / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.009746, allocations: 59.48 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.009794, allocations: 41.7 kB / 0.9891 GB, free: 9.977 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.009875, allocations: 334.8 kB / 0.9894 GB, free: 9.641 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01004, allocations: 95.91 kB / 0.9895 GB, free: 9.547 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.01022, allocations: 140.1 kB / 0.9897 GB, free: 9.391 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.01055, allocations: 245.7 kB / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01055, allocations: 0 / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000421/0.01097, allocations: 293.2 kB / 0.9902 GB, free: 8.836 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01099, allocations: 7.938 kB / 0.9902 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.011, allocations: 4.156 kB / 0.9902 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01101, allocations: 7.938 kB / 0.9902 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01115, allocations: 59.94 kB / 0.9903 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01115, allocations: 4 kB / 0.9903 GB, free: 8.754 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01126, allocations: 35.86 kB / 0.9903 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.01127, allocations: 12 kB / 0.9903 GB, free: 8.707 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 7.789e-05/0.01135, allocations: 133.8 kB / 0.9904 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.01141, allocations: 31.91 kB / 0.9905 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.01182, allocations: 291.1 kB / 0.9907 GB, free: 8.242 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01183, allocations: 8 kB / 0.9907 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01183, allocations: 0 / 0.9907 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01183, allocations: 0 / 0.9907 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.01205, allocations: 240.5 kB / 0.991 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01205, allocations: 0 / 0.991 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01218, allocations: 55.89 kB / 0.991 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01218, allocations: 4 kB / 0.991 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01219, allocations: 3.938 kB / 0.991 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01219, allocations: 4 kB / 0.991 GB, free: 7.891 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01219, allocations: 4 kB / 0.991 GB, free: 7.887 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.01262, allocations: 436.4 kB / 0.9915 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01264, allocations: 35.73 kB / 0.9915 GB, free: 7.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01266, allocations: 3.938 kB / 0.9915 GB, free: 7.406 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01278, allocations: 35.89 kB / 0.9915 GB, free: 7.371 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01283, allocations: 19.97 kB / 0.9916 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.01284, allocations: 4 kB / 0.9916 GB, free: 7.348 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003618/0.0132, allocations: 191.1 kB / 0.9917 GB, free: 7.164 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.0132, allocations: 3.938 kB / 0.9917 GB, free: 7.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002189/0.01342, allocations: 63.89 kB / 0.9918 GB, free: 7.098 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.0006553/0.01408, allocations: 0.977 MB / 0.9928 GB, free: 6.094 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.01445, allocations: 232 kB / 0.993 GB, free: 5.867 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01446, allocations: 0 / 0.993 GB, free: 5.867 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.01463, allocations: 111.8 kB / 0.9931 GB, free: 5.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.01497, allocations: 80.36 kB / 0.9932 GB, free: 5.676 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.01728, allocations: 2.711 MB / 0.9958 GB, free: 2.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.01736, allocations: 151.1 kB / 0.996 GB, free: 2.672 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.01745, allocations: 30.3 kB / 0.996 GB, free: 2.641 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.01754, allocations: 84.47 kB / 0.9961 GB, free: 2.559 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01754, allocations: 0 / 0.9961 GB, free: 2.559 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.03665, allocations: 7.698 MB / 1.004 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.297, allocations: 6.578 kB / 1.004 GB, free: 11.12 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] 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: 11.259499548003078]