Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001918/0.001918, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.00239/0.00239, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.597/1.597, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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 3.082/3.082, allocations: 476.7 MB / 0.7611 GB, free: 15.82 MB / 0.6075 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.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 75.88 kB / 1.104 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.075, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006141/1.081, allocations: 4.616 MB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/1.082, allocations: 0.8246 MB / 1.274 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/1.082, allocations: 4.844 kB / 1.274 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/1.082, allocations: 33.94 kB / 1.274 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/1.082, allocations: 26.38 kB / 1.274 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/1.082, allocations: 176.8 kB / 1.274 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/1.083, allocations: 175.5 kB / 1.274 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/1.083, allocations: 13.22 kB / 1.274 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/1.083, allocations: 81.56 kB / 1.275 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/1.083, allocations: 80.2 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/1.083, allocations: 13.34 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/1.083, allocations: 155 kB / 1.275 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/1.083, allocations: 31.7 kB / 1.275 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/1.084, allocations: 68.66 kB / 1.275 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/1.084, allocations: 247.7 kB / 1.275 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.084, allocations: 0.5625 kB / 1.275 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.084, allocations: 0 / 1.275 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.084, allocations: 0.7188 kB / 1.275 GB, free: 3.355 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008489/1.085, allocations: 489.4 kB / 1.276 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.085, allocations: 13.44 kB / 1.276 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/1.085, allocations: 38.75 kB / 1.276 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/1.085, allocations: 15.91 kB / 1.276 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/1.085, allocations: 183.7 kB / 1.276 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.085, allocations: 4.844 kB / 1.276 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/1.085, allocations: 12.72 kB / 1.276 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/1.085, allocations: 125.9 kB / 1.276 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.085, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.085, allocations: 8.812 kB / 1.276 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/1.085, allocations: 1.781 kB / 1.276 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/1.086, allocations: 139.1 kB / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/1.087, allocations: 465.3 kB / 1.277 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/1.087, allocations: 116.8 kB / 1.277 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/1.087, allocations: 70.19 kB / 1.277 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.088, allocations: 0.9602 MB / 1.278 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.088, allocations: 33.39 kB / 1.278 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.088, allocations: 0 / 1.278 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0006621/1.089, allocations: 216.7 kB / 1.278 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.089, allocations: 56.34 kB / 1.278 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.089, allocations: 171.8 kB / 1.278 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.089, allocations: 26.83 kB / 1.278 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/1.089, allocations: 110.3 kB / 1.278 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/1.089, allocations: 42.52 kB / 1.278 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/1.089, allocations: 53.84 kB / 1.278 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/1.089, allocations: 325.8 kB / 1.279 GB, free: 364 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/1.09, allocations: 75.09 kB / 1.279 GB, free: 344 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.09, allocations: 113.9 kB / 1.279 GB, free: 284 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/1.09, allocations: 171.6 kB / 1.279 GB, free: 200 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.09, allocations: 0 / 1.279 GB, free: 200 kB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000549/1.091, allocations: 247 kB / 1.279 GB, free: 96 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.091, allocations: 8.375 kB / 1.279 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.091, allocations: 4.812 kB / 1.279 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.091, allocations: 1.656 kB / 1.279 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/1.091, allocations: 55.06 kB / 1.279 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.091, allocations: 6.844 kB / 1.279 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/1.091, allocations: 32.56 kB / 1.279 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/1.091, allocations: 9.75 kB / 1.279 GB, free: 64 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001406/1.092, allocations: 123.4 kB / 1.279 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/1.092, allocations: 12.88 kB / 1.279 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/1.092, allocations: 176.9 kB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.092, allocations: 2.125 kB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.092, allocations: 3.938 kB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.092, allocations: 1.125 kB / 1.28 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/1.092, allocations: 218.3 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.092, allocations: 0.5156 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.093, allocations: 29.33 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.093, allocations: 1.031 kB / 1.28 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/1.093, allocations: 8.938 kB / 1.28 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.093, allocations: 5.406 kB / 1.28 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.093, allocations: 0 / 1.28 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/1.093, allocations: 245.4 kB / 1.28 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.093, allocations: 103.5 kB / 1.28 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/1.093, allocations: 9.203 kB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.093, allocations: 16.12 kB / 1.28 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/1.093, allocations: 11.69 kB / 1.28 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/1.093, allocations: 2.969 kB / 1.28 GB, free: 15.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001009/1.094, allocations: 116.3 kB / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.094, allocations: 0 / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003809/1.094, allocations: 62.52 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.00112/1.095, allocations: 0.8643 MB / 1.281 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005355/1.096, allocations: 163.4 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.096, allocations: 0 / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.096, allocations: 69.12 kB / 1.282 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/1.096, allocations: 24.34 kB / 1.282 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/1.099, allocations: 1.947 MB / 1.283 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/1.1, allocations: 0.7112 MB / 1.284 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001099/1.1, allocations: 24.34 kB / 1.284 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/1.1, allocations: 35.89 kB / 1.284 GB, free: 12.21 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.1, allocations: 3.938 kB / 1.284 GB, free: 12.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/1.129, allocations: 4.307 MB / 1.288 GB, free: 11.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.501, allocations: 15.77 kB / 1.288 GB, free: 11.59 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.28575902013108]