Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001225/0.001225, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 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.001335/0.001335, allocations: 209.8 kB / 22.24 MB, free: 5.117 MB / 14.72 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 1.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 69.75 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2926, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003432/0.296, allocations: 2.063 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2978, allocations: 1.021 MB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2979, allocations: 7.938 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.197e-05/0.298, allocations: 23.67 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.2983, allocations: 91.16 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2987, allocations: 187.9 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.299, allocations: 298.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2992, allocations: 40.86 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2993, allocations: 115.5 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2995, allocations: 131.4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.2996, allocations: 16 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3, allocations: 283.7 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.3, allocations: 55.81 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.3001, allocations: 91.47 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.3005, allocations: 346.5 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3005, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3006, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3006, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 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.001009/0.3016, allocations: 0.5476 MB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3016, allocations: 12.03 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.3017, allocations: 46.73 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.3019, allocations: 40.7 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.3022, allocations: 229.4 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3022, allocations: 20.41 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3023, allocations: 12 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.3028, allocations: 228.5 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3028, allocations: 4 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3028, allocations: 7.938 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3028, allocations: 4 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.3034, allocations: 199.8 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3045, allocations: 0.8673 MB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.3053, allocations: 241.2 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.3056, allocations: 97.64 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3056, allocations: 4 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3056, allocations: 34.5 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3056, allocations: 0 / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.001098/0.3067, allocations: 341.5 kB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3068, allocations: 85.05 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3071, allocations: 268.2 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3071, allocations: 25.7 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3072, allocations: 168.3 kB / 1.371 GB, free: 5.617 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.3073, allocations: 55.53 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.3073, allocations: 41.7 kB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3075, allocations: 338.8 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.3078, allocations: 95.91 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.3081, allocations: 136 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3087, allocations: 249.7 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3087, allocations: 4 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008023/0.3095, allocations: 293.8 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3096, allocations: 8 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3096, allocations: 0 / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3096, allocations: 4 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3099, allocations: 68.09 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3099, allocations: 8 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3101, allocations: 35.86 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3101, allocations: 8 kB / 1.373 GB, free: 4.238 MB / 1.061 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.0001206/0.3102, allocations: 142.8 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3103, allocations: 27.81 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/0.3111, allocations: 283.2 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3111, allocations: 3.984 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3111, allocations: 4.281 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3111, allocations: 3.938 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.3115, allocations: 252.5 kB / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3115, allocations: 3.938 kB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.3117, allocations: 55.89 kB / 1.373 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3117, allocations: 0 / 1.373 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3117, allocations: 8 kB / 1.373 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3117, allocations: 0 / 1.373 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3117, allocations: 0 / 1.373 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3125, allocations: 448.2 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.3126, allocations: 23.81 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3126, allocations: 4 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3129, allocations: 31.95 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.3129, allocations: 19.97 kB / 1.374 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3129, allocations: 4 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3131, allocations: 195.1 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3131, allocations: 0 / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003294/0.3134, allocations: 55.89 kB / 1.374 GB, free: 2.629 MB / 1.061 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.001164/0.3146, allocations: 0.9847 MB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000691/0.3153, allocations: 220.2 kB / 1.375 GB, free: 1.402 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3153, allocations: 0 / 1.375 GB, free: 1.402 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.3156, allocations: 119.8 kB / 1.375 GB, free: 1.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.3161, allocations: 72.23 kB / 1.376 GB, free: 1.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.32, allocations: 2.712 MB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3201, allocations: 143.1 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.3203, allocations: 34.27 kB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3204, allocations: 83.41 kB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3204, allocations: 4 kB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.3548, allocations: 7.56 MB / 1.386 GB, free: 6.789 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.67, allocations: 5.891 kB / 1.386 GB, free: 6.785 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.60993155790493]