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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 67.89 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9955, allocations: 160.7 MB / 1.213 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004417/0.9999, allocations: 2.16 MB / 1.215 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001789/1.002, allocations: 1.049 MB / 1.216 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/1.002, allocations: 7.875 kB / 1.216 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/1.002, allocations: 23.67 kB / 1.216 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/1.002, allocations: 83.28 kB / 1.216 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/1.003, allocations: 195.5 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/1.003, allocations: 290.8 kB / 1.217 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/1.003, allocations: 46.56 kB / 1.217 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/1.003, allocations: 115.5 kB / 1.217 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/1.004, allocations: 147.3 kB / 1.217 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/1.004, allocations: 20 kB / 1.217 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/1.004, allocations: 291.6 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/1.004, allocations: 47.78 kB / 1.217 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/1.004, allocations: 115.3 kB / 1.217 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/1.005, allocations: 338.5 kB / 1.218 GB, free: 456 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.005, allocations: 0 / 1.218 GB, free: 456 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/1.005, allocations: 0 / 1.218 GB, free: 456 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.005, allocations: 7.938 kB / 1.218 GB, free: 448 kB / 0.92 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.001157/1.006, allocations: 0.6306 MB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.006, allocations: 12.62 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/1.006, allocations: 46.73 kB / 1.218 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/1.006, allocations: 36.75 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/1.007, allocations: 287.7 kB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.007, allocations: 20.66 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/1.007, allocations: 12.38 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/1.007, allocations: 225.3 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.007, allocations: 11.92 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/1.007, allocations: 12 kB / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.007, allocations: 4 kB / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/1.008, allocations: 195.8 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/1.009, allocations: 0.9424 MB / 1.22 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/1.01, allocations: 229.2 kB / 1.22 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/1.01, allocations: 105.6 kB / 1.22 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/1.01, allocations: 8.25 kB / 1.22 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.01, allocations: 42.53 kB / 1.22 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/1.01, allocations: 0 / 1.22 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001158/1.012, allocations: 337.4 kB / 1.221 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.012, allocations: 77.11 kB / 1.221 GB, free: 13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/1.012, allocations: 271 kB / 1.221 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/1.012, allocations: 29.7 kB / 1.221 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/1.012, allocations: 164.3 kB / 1.221 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/1.012, allocations: 63.48 kB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/1.012, allocations: 41.56 kB / 1.221 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.012, allocations: 338.8 kB / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.013, allocations: 87.91 kB / 1.222 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/1.013, allocations: 144.1 kB / 1.222 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/1.014, allocations: 241.7 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.014, allocations: 4 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007994/1.014, allocations: 293.1 kB / 1.222 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.014, allocations: 8.156 kB / 1.222 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.014, allocations: 0 / 1.222 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.014, allocations: 4 kB / 1.222 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/1.015, allocations: 67.88 kB / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.015, allocations: 4 kB / 1.223 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.015, allocations: 35.81 kB / 1.223 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/1.015, allocations: 15.98 kB / 1.223 GB, free: 11.14 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.0001374/1.015, allocations: 133.8 kB / 1.223 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.015, allocations: 27.8 kB / 1.223 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/1.016, allocations: 291.1 kB / 1.223 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.016, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.016, allocations: 0 / 1.223 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.016, allocations: 0 / 1.223 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/1.017, allocations: 293.7 kB / 1.223 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.017, allocations: 0 / 1.223 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/1.017, allocations: 59.94 kB / 1.223 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.017, allocations: 11.88 kB / 1.223 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/1.017, allocations: 4 kB / 1.223 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.017, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.017, allocations: 0 / 1.223 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/1.018, allocations: 448.4 kB / 1.224 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/1.018, allocations: 108.9 kB / 1.224 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/1.018, allocations: 4 kB / 1.224 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.018, allocations: 23.97 kB / 1.224 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/1.018, allocations: 23.91 kB / 1.224 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.018, allocations: 12 kB / 1.224 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001957/1.018, allocations: 186 kB / 1.224 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 4 kB / 1.224 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003819/1.019, allocations: 55.94 kB / 1.224 GB, free: 9.387 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.001326/1.02, allocations: 0.9925 MB / 1.225 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007202/1.021, allocations: 220.2 kB / 1.225 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.021, allocations: 0 / 1.225 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/1.021, allocations: 112.2 kB / 1.225 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/1.022, allocations: 79.88 kB / 1.226 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/1.026, allocations: 2.716 MB / 1.228 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.026, allocations: 0.7519 MB / 1.229 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001412/1.027, allocations: 26.3 kB / 1.229 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/1.027, allocations: 87.39 kB / 1.229 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/1.027, allocations: 0 / 1.229 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/1.057, allocations: 6.598 MB / 1.236 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/9.531, allocations: 13.47 kB / 1.236 GB, free: 13.81 MB / 0.9512 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.489570701029152]