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.001389/0.001389, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001384/0.001384, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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 2.448/2.448, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] 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.00178/0.00178, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7159, allocations: 168.7 MB / 1.271 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004802/0.7207, allocations: 4.645 MB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.7215, allocations: 0.8217 MB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.7215, allocations: 0.8125 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.7217, allocations: 32.62 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.7217, allocations: 35.92 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.7222, allocations: 167.6 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.7223, allocations: 177.4 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.7224, allocations: 10.34 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.7226, allocations: 87.75 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.7227, allocations: 84.08 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.7227, allocations: 12.59 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.723, allocations: 152 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.723, allocations: 39.25 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.7231, allocations: 60.22 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.7234, allocations: 244.3 kB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7234, allocations: 1.5 kB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7234, allocations: 0 / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.7234, allocations: 0.875 kB / 1.278 GB, free: 3.219 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.0006963/0.7241, allocations: 494.9 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.7241, allocations: 9.562 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.7242, allocations: 43.92 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.7242, allocations: 16.19 kB / 1.278 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.7243, allocations: 181.4 kB / 1.279 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7243, allocations: 8.594 kB / 1.279 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.7243, allocations: 11.81 kB / 1.279 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.7246, allocations: 127.2 kB / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7246, allocations: 0 / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.7246, allocations: 5.375 kB / 1.279 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7246, allocations: 1.5 kB / 1.279 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.725, allocations: 144.1 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.7258, allocations: 461.1 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.7261, allocations: 120.2 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.7262, allocations: 64.41 kB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.7273, allocations: 0.9683 MB / 1.28 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.7273, allocations: 36.09 kB / 1.28 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.7273, allocations: 0 / 1.28 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0006176/0.7279, allocations: 213.2 kB / 1.281 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.7279, allocations: 57.61 kB / 1.281 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.728, allocations: 168.8 kB / 1.281 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7281, allocations: 30.7 kB / 1.281 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.7281, allocations: 108.7 kB / 1.281 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.7281, allocations: 44.17 kB / 1.281 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.7282, allocations: 45.16 kB / 1.281 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.7282, allocations: 325.8 kB / 1.281 GB, free: 220 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.7284, allocations: 80.03 kB / 1.281 GB, free: 196 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.7287, allocations: 109.4 kB / 1.282 GB, free: 140 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.729, allocations: 179 kB / 1.282 GB, free: 52 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.729, allocations: 0.7812 kB / 1.282 GB, free: 52 kB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005872/0.7296, allocations: 246.2 kB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7296, allocations: 5.406 kB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7297, allocations: 4.844 kB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7297, allocations: 2.859 kB / 1.282 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.7299, allocations: 54.73 kB / 1.282 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7299, allocations: 1.594 kB / 1.282 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7301, allocations: 32.77 kB / 1.282 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.7301, allocations: 6.703 kB / 1.282 GB, free: 15.93 MB / 1.014 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 9.756e-05/0.7302, allocations: 129.2 kB / 1.282 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.7303, allocations: 11.66 kB / 1.282 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.7307, allocations: 173.3 kB / 1.282 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.7307, allocations: 1.312 kB / 1.282 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.7307, allocations: 5.312 kB / 1.282 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7307, allocations: 4.609 kB / 1.282 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.731, allocations: 226.6 kB / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.731, allocations: 0 / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.7311, allocations: 29.09 kB / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7311, allocations: 0 / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7311, allocations: 13.83 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7311, allocations: 0.5 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7311, allocations: 1.453 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.7316, allocations: 249 kB / 1.283 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.7316, allocations: 103.2 kB / 1.283 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.7317, allocations: 5.266 kB / 1.283 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.7318, allocations: 20.69 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.7318, allocations: 9.469 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7319, allocations: 5.188 kB / 1.283 GB, free: 15.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.975e-05/0.7319, allocations: 121 kB / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7319, allocations: 0 / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003085/0.7322, allocations: 65.67 kB / 1.283 GB, free: 15.07 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.0008457/0.7331, allocations: 0.8527 MB / 1.284 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.7335, allocations: 168.3 kB / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7335, allocations: 0 / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.7337, allocations: 60.14 kB / 1.284 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.734, allocations: 26.69 kB / 1.284 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7364, allocations: 1.956 MB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.7367, allocations: 0.7058 MB / 1.287 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.004e-05/0.7368, allocations: 21.69 kB / 1.287 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.7368, allocations: 40.72 kB / 1.287 GB, free: 12.05 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.7368, allocations: 3.938 kB / 1.287 GB, free: 12.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.763, allocations: 4.257 MB / 1.291 GB, free: 11.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.982, allocations: 11.78 kB / 1.291 GB, free: 11.44 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.141896739000003]