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.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.001452/0.001452, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001847/0.001847, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.8 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002054/0.002054, allocations: 67.39 kB / 1.117 GB, free: 40.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 170 MB / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00396/0.3531, allocations: 2.193 MB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3553, allocations: 1.091 MB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.3555, allocations: 7.938 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.798e-05/0.3556, allocations: 27.66 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.356, allocations: 83.28 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.3565, allocations: 188 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.357, allocations: 298.7 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3571, allocations: 48.44 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.3573, allocations: 111.6 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3576, allocations: 147.3 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.3577, allocations: 23.94 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.3581, allocations: 295.6 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.3582, allocations: 43.84 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3584, allocations: 123.2 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.3589, allocations: 339.2 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3589, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3589, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.3589, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 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.001206/0.3601, allocations: 0.5554 MB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3602, allocations: 12.03 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.3602, allocations: 50.73 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.3604, allocations: 40.75 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.3609, allocations: 229.4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3609, allocations: 12.66 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3609, allocations: 12.38 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.3615, allocations: 232.7 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3615, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3615, allocations: 8 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3615, allocations: 4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.3622, allocations: 200.4 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3635, allocations: 0.9141 MB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.3643, allocations: 229.2 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.3646, allocations: 101.6 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.3646, allocations: 4 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3646, allocations: 34.56 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.3646, allocations: 4 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001168/0.3658, allocations: 342 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.3659, allocations: 77.11 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.3662, allocations: 264.2 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3662, allocations: 29.7 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.3664, allocations: 164.3 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.3664, allocations: 59.5 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.3665, allocations: 41.7 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3667, allocations: 334.8 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.367, allocations: 95.86 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.3673, allocations: 149 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.368, allocations: 237.7 kB / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.368, allocations: 4 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000843/0.3688, allocations: 297.1 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3689, allocations: 8 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3689, allocations: 0 / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3689, allocations: 4 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.3692, allocations: 64.05 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3692, allocations: 0 / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3694, allocations: 47.84 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3695, allocations: 4 kB / 1.293 GB, free: 1.746 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.000156/0.3696, allocations: 137.7 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3697, allocations: 31.75 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.3706, allocations: 291.1 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3706, allocations: 4 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3706, allocations: 4 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3706, allocations: 0 / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3711, allocations: 272.4 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3711, allocations: 0 / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.3713, allocations: 55.89 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3713, allocations: 0 / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3714, allocations: 8.281 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3714, allocations: 0 / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3714, allocations: 0 / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.3723, allocations: 452 kB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3723, allocations: 23.8 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3724, allocations: 8 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3726, allocations: 23.97 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.3727, allocations: 31.88 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3727, allocations: 4 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002363/0.373, allocations: 191.1 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.373, allocations: 0 / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003885/0.3734, allocations: 63.89 kB / 1.294 GB, free: 104 kB / 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.001346/0.3747, allocations: 0.9908 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007343/0.3754, allocations: 227.9 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3754, allocations: 0 / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3758, allocations: 111.8 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.3763, allocations: 77.72 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.3807, allocations: 2.705 MB / 1.298 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3811, allocations: 0.7521 MB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.3812, allocations: 26.3 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3814, allocations: 87.41 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3814, allocations: 0 / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.4205, allocations: 6.798 MB / 1.306 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 6.562 kB / 1.306 GB, free: 4.371 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.524859537836164]