Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 104.7 kB / 16.45 MB, free: 6.035 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.001374/0.001374, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.55/1.55, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7611 GB, free: 11.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 71.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003847/1.052, allocations: 2.157 MB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001948/1.054, allocations: 1.061 MB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/1.054, allocations: 7.938 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.807e-05/1.054, allocations: 19.73 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003257/1.054, allocations: 83.22 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/1.055, allocations: 191.5 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/1.055, allocations: 290.9 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/1.055, allocations: 42.55 kB / 1.273 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/1.055, allocations: 111.5 kB / 1.273 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/1.055, allocations: 147.4 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/1.055, allocations: 20 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/1.056, allocations: 295.7 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/1.056, allocations: 55.69 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/1.056, allocations: 119.3 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/1.057, allocations: 326.6 kB / 1.274 GB, free: 276 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.057, allocations: 0 / 1.274 GB, free: 276 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/1.057, allocations: 0 / 1.274 GB, free: 276 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.057, allocations: 0 / 1.274 GB, free: 276 kB / 0.9669 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.001262/1.058, allocations: 0.6384 MB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.058, allocations: 8.031 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/1.058, allocations: 50.73 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/1.058, allocations: 44.7 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/1.059, allocations: 287.7 kB / 1.275 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.059, allocations: 8.656 kB / 1.275 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/1.059, allocations: 12.38 kB / 1.275 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/1.059, allocations: 237.2 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.059, allocations: 4 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.059, allocations: 4 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.059, allocations: 4 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/1.06, allocations: 203.7 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/1.061, allocations: 0.9425 MB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/1.062, allocations: 241.1 kB / 1.276 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/1.062, allocations: 105.5 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/1.062, allocations: 0 / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.062, allocations: 34.56 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/1.062, allocations: 4 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001165/1.064, allocations: 337.5 kB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/1.064, allocations: 81.11 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/1.064, allocations: 271 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.064, allocations: 29.7 kB / 1.277 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.064, allocations: 156.3 kB / 1.277 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/1.064, allocations: 67.41 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/1.064, allocations: 37.7 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.065, allocations: 342.8 kB / 1.278 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/1.065, allocations: 87.91 kB / 1.278 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/1.065, allocations: 144.4 kB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/1.066, allocations: 238.4 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.066, allocations: 0 / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000807/1.067, allocations: 297.1 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.067, allocations: 4 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.067, allocations: 4 kB / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.067, allocations: 0 / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/1.067, allocations: 76.03 kB / 1.278 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.067, allocations: 4 kB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/1.067, allocations: 39.81 kB / 1.278 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.067, allocations: 8 kB / 1.278 GB, free: 10.96 MB / 0.9825 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.0001429/1.067, allocations: 133.8 kB / 1.279 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.067, allocations: 27.8 kB / 1.279 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/1.068, allocations: 299.2 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.068, allocations: 8 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.068, allocations: 0 / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.068, allocations: 0 / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/1.069, allocations: 297.3 kB / 1.279 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.069, allocations: 4 kB / 1.279 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/1.069, allocations: 51.95 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.069, allocations: 0 / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/1.069, allocations: 7.984 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.069, allocations: 3.938 kB / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.069, allocations: 4 kB / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/1.07, allocations: 448.4 kB / 1.28 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/1.07, allocations: 104.9 kB / 1.28 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/1.07, allocations: 4 kB / 1.28 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.07, allocations: 23.97 kB / 1.28 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/1.07, allocations: 19.97 kB / 1.28 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/1.07, allocations: 8 kB / 1.28 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002044/1.071, allocations: 186 kB / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.071, allocations: 0 / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003535/1.071, allocations: 59.94 kB / 1.28 GB, free: 9.207 MB / 0.9825 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.001354/1.072, allocations: 0.9969 MB / 1.281 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007428/1.073, allocations: 225.8 kB / 1.281 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.073, allocations: 0 / 1.281 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/1.073, allocations: 112.3 kB / 1.281 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/1.074, allocations: 79.22 kB / 1.281 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/1.078, allocations: 2.716 MB / 1.284 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/1.079, allocations: 0.752 MB / 1.285 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001575/1.079, allocations: 34.28 kB / 1.285 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.079, allocations: 87.34 kB / 1.285 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/1.079, allocations: 0 / 1.285 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/1.112, allocations: 6.611 MB / 1.291 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/9.746, allocations: 6.562 kB / 1.291 GB, free: 13.61 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.094342956785113]