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.002262/0.002262, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002407/0.002407, allocations: 221 kB / 22.25 MB, free: 5.258 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.152/3.152, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002058/0.002058, allocations: 71.25 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4005, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003658/0.4042, allocations: 2.062 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.4061, allocations: 1.024 MB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.4062, allocations: 7.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.489e-05/0.4063, allocations: 31.66 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.4066, allocations: 71.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.4071, allocations: 200.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.4075, allocations: 298.7 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4076, allocations: 48.84 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.4078, allocations: 111.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.4081, allocations: 139.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.4081, allocations: 20 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.4086, allocations: 295.6 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.4086, allocations: 51.77 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4087, allocations: 103.5 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.4092, allocations: 338.5 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 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.001191/0.4104, allocations: 0.5631 MB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4104, allocations: 8.031 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.4105, allocations: 46.73 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.4107, allocations: 36.75 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.4112, allocations: 233.4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4112, allocations: 12.66 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4112, allocations: 16.38 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.4118, allocations: 228.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4118, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4118, allocations: 12 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4118, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.4125, allocations: 192.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.4138, allocations: 0.8712 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.4146, allocations: 233.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.4149, allocations: 109.6 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.415, allocations: 3.938 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.415, allocations: 34.56 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.415, allocations: 0 / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001215/0.4162, allocations: 337.5 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.4163, allocations: 85.09 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.4166, allocations: 268.2 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4166, allocations: 25.7 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4167, allocations: 164.2 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.4168, allocations: 59.56 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.4169, allocations: 41.66 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.417, allocations: 338.8 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4173, allocations: 87.86 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.4177, allocations: 147.1 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.4184, allocations: 245.7 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4184, allocations: 0 / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008372/0.4192, allocations: 297.1 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4192, allocations: 4 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4192, allocations: 4 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4193, allocations: 0 / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.4196, allocations: 60.05 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4196, allocations: 12.69 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4198, allocations: 43.81 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.4198, allocations: 12 kB / 1.335 GB, free: 7.598 MB / 1.029 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.0001376/0.42, allocations: 134.2 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4201, allocations: 27.8 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.4209, allocations: 295.2 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4209, allocations: 4 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4209, allocations: 0 / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.421, allocations: 3.984 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.4213, allocations: 248.5 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4213, allocations: 4 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.4216, allocations: 51.89 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4216, allocations: 4 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4216, allocations: 4 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4216, allocations: 0 / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4216, allocations: 4 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.4225, allocations: 444.2 kB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.4226, allocations: 23.81 kB / 1.336 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.4226, allocations: 11.94 kB / 1.336 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4229, allocations: 23.97 kB / 1.336 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.423, allocations: 23.95 kB / 1.336 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.423, allocations: 4 kB / 1.336 GB, free: 6.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002044/0.4232, allocations: 195.1 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4232, allocations: 0 / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003715/0.4236, allocations: 55.94 kB / 1.337 GB, free: 5.992 MB / 1.029 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.001284/0.4248, allocations: 0.9899 MB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.4256, allocations: 220.1 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4256, allocations: 4.062 kB / 1.338 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.426, allocations: 115.8 kB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.4265, allocations: 71 kB / 1.338 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.4308, allocations: 2.705 MB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.431, allocations: 142.9 kB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.4312, allocations: 34.36 kB / 1.341 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4313, allocations: 87.41 kB / 1.341 GB, free: 1.465 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/0.4313, allocations: 0 / 1.341 GB, free: 1.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.4712, allocations: 7.654 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.72, allocations: 11.98 kB / 1.348 GB, free: 10.05 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.508097482001176]