Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001957/0.001957, allocations: 111.5 kB / 16.41 MB, free: 6.496 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.001959/0.001959, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.43/1.43, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 489 MB / 0.7678 GB, free: 136 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 1.101 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7938, allocations: 163.8 MB / 1.261 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006849/0.8007, allocations: 4.59 MB / 1.266 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.802, allocations: 0.8178 MB / 1.266 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.8021, allocations: 0 / 1.266 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.8023, allocations: 27.77 kB / 1.266 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.8024, allocations: 31.7 kB / 1.266 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.803, allocations: 171.4 kB / 1.267 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.8032, allocations: 175.4 kB / 1.267 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8033, allocations: 13.11 kB / 1.267 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.8035, allocations: 87.69 kB / 1.267 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.8037, allocations: 83.66 kB / 1.267 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.8037, allocations: 16 kB / 1.267 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.8041, allocations: 147.8 kB / 1.267 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.8041, allocations: 31.89 kB / 1.267 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.8042, allocations: 63.67 kB / 1.267 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.8046, allocations: 239.2 kB / 1.267 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8047, allocations: 7.938 kB / 1.267 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8047, allocations: 0 / 1.267 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8047, allocations: 4 kB / 1.267 GB, free: 0.6172 MB / 0.9669 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.0009374/0.8056, allocations: 482.5 kB / 1.268 GB, free: 100 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8057, allocations: 11.97 kB / 1.268 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.8057, allocations: 42.73 kB / 1.268 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.8058, allocations: 12.89 kB / 1.268 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.806, allocations: 189.5 kB / 1.268 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.806, allocations: 8.375 kB / 1.268 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.806, allocations: 12.38 kB / 1.268 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.8064, allocations: 126.9 kB / 1.268 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8064, allocations: 3.938 kB / 1.268 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.8064, allocations: 0 / 1.268 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8064, allocations: 4 kB / 1.268 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.8069, allocations: 143.9 kB / 1.268 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.8079, allocations: 456.5 kB / 1.269 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.8082, allocations: 126.5 kB / 1.269 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.8084, allocations: 68.81 kB / 1.269 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.8099, allocations: 0.9722 MB / 1.27 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.8099, allocations: 34.55 kB / 1.27 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.8099, allocations: 0 / 1.27 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0007036/0.8106, allocations: 213.4 kB / 1.27 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.8107, allocations: 55.41 kB / 1.27 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.8109, allocations: 168.4 kB / 1.27 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.8109, allocations: 29.7 kB / 1.27 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.811, allocations: 108.5 kB / 1.271 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.811, allocations: 51.52 kB / 1.271 GB, free: 13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.8111, allocations: 45.7 kB / 1.271 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8113, allocations: 330.8 kB / 1.271 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.8115, allocations: 71.95 kB / 1.271 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.8118, allocations: 115.3 kB / 1.271 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.8122, allocations: 168.7 kB / 1.271 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8123, allocations: 0 / 1.271 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005937/0.8129, allocations: 243.2 kB / 1.272 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8129, allocations: 8 kB / 1.272 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8129, allocations: 7.938 kB / 1.272 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8129, allocations: 4 kB / 1.272 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.8132, allocations: 51.91 kB / 1.272 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8132, allocations: 0 / 1.272 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.8134, allocations: 39.75 kB / 1.272 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.8134, allocations: 12.09 kB / 1.272 GB, free: 11.88 MB / 0.9825 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.0001075/0.8135, allocations: 125.8 kB / 1.272 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.8136, allocations: 11.91 kB / 1.272 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.8141, allocations: 179.3 kB / 1.272 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8141, allocations: 0 / 1.272 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8142, allocations: 4 kB / 1.272 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8142, allocations: 0 / 1.272 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.8144, allocations: 217.5 kB / 1.272 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8144, allocations: 4 kB / 1.272 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.8146, allocations: 35.91 kB / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8146, allocations: 0 / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8146, allocations: 3.938 kB / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8146, allocations: 4 kB / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8146, allocations: 0 / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.8151, allocations: 255.5 kB / 1.272 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.8152, allocations: 104.9 kB / 1.273 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.8152, allocations: 7.938 kB / 1.273 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.8154, allocations: 11.98 kB / 1.273 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.8154, allocations: 11.98 kB / 1.273 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.8155, allocations: 8 kB / 1.273 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.8156, allocations: 118.2 kB / 1.273 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8156, allocations: 0 / 1.273 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003357/0.8159, allocations: 63.86 kB / 1.273 GB, free: 10.64 MB / 0.9825 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.001022/0.8169, allocations: 0.852 MB / 1.274 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.8175, allocations: 171.8 kB / 1.274 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8175, allocations: 0 / 1.274 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.8177, allocations: 63.95 kB / 1.274 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.8181, allocations: 28.17 kB / 1.274 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.8209, allocations: 1.946 MB / 1.276 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.8213, allocations: 0.7084 MB / 1.276 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000101/0.8214, allocations: 17.47 kB / 1.276 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.8215, allocations: 39.42 kB / 1.276 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of SimCode: time 9.11e-07/0.8215, allocations: 0 / 1.276 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.8483, allocations: 4.287 MB / 1.281 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/9.103, allocations: 16.94 kB / 1.281 GB, free: 2.543 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.074540717992932]