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.001649/0.001649, allocations: 103.7 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.001706/0.001706, allocations: 188.6 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.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.94/2.94, allocations: 497.2 MB / 0.7811 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 176] 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.001944/0.001944, allocations: 67.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.869, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004918/0.8739, allocations: 4.616 MB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.8747, allocations: 0.816 MB / 1.309 GB, free: 28.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.8747, allocations: 0 / 1.309 GB, free: 28.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.8749, allocations: 35.28 kB / 1.309 GB, free: 28.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.8749, allocations: 25.66 kB / 1.309 GB, free: 28.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.8754, allocations: 176.9 kB / 1.31 GB, free: 28.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.8755, allocations: 176.5 kB / 1.31 GB, free: 28.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.8756, allocations: 10.86 kB / 1.31 GB, free: 28.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.8757, allocations: 89.03 kB / 1.31 GB, free: 28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.8758, allocations: 77.78 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.8758, allocations: 11.19 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.8761, allocations: 159.8 kB / 1.31 GB, free: 27.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.8761, allocations: 32.75 kB / 1.31 GB, free: 27.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.8762, allocations: 73.52 kB / 1.31 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.8764, allocations: 245.5 kB / 1.31 GB, free: 27.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.8764, allocations: 0 / 1.31 GB, free: 27.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8764, allocations: 0 / 1.31 GB, free: 27.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8764, allocations: 3.938 kB / 1.31 GB, free: 27.76 MB / 1.061 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.000707/0.8772, allocations: 486.9 kB / 1.311 GB, free: 27.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.8772, allocations: 8.531 kB / 1.311 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.8772, allocations: 41.03 kB / 1.311 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.8773, allocations: 14.94 kB / 1.311 GB, free: 27.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.8773, allocations: 177.2 kB / 1.311 GB, free: 27.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.8774, allocations: 10.41 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.8774, allocations: 12.75 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.8777, allocations: 131.4 kB / 1.311 GB, free: 27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8777, allocations: 0 / 1.311 GB, free: 27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8777, allocations: 7.938 kB / 1.311 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8777, allocations: 2.906 kB / 1.311 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.878, allocations: 136.4 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.8788, allocations: 465.5 kB / 1.312 GB, free: 26.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.8791, allocations: 121.8 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.8793, allocations: 70.53 kB / 1.312 GB, free: 26.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.8803, allocations: 0.9574 MB / 1.313 GB, free: 25.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.8803, allocations: 37.44 kB / 1.313 GB, free: 25.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.8803, allocations: 4 kB / 1.313 GB, free: 25.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000576/0.8809, allocations: 210.4 kB / 1.313 GB, free: 25.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.8809, allocations: 58.59 kB / 1.313 GB, free: 25.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.881, allocations: 162.9 kB / 1.313 GB, free: 25.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.881, allocations: 29.7 kB / 1.313 GB, free: 25.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.8811, allocations: 109.8 kB / 1.314 GB, free: 25.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.8811, allocations: 48.8 kB / 1.314 GB, free: 25.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.8812, allocations: 49.81 kB / 1.314 GB, free: 25.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.8812, allocations: 321.2 kB / 1.314 GB, free: 24.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.8814, allocations: 73.7 kB / 1.314 GB, free: 24.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.8816, allocations: 106.6 kB / 1.314 GB, free: 24.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.882, allocations: 175.7 kB / 1.314 GB, free: 24.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.882, allocations: 0 / 1.314 GB, free: 24.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004664/0.8824, allocations: 244.5 kB / 1.314 GB, free: 24.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.8824, allocations: 4.875 kB / 1.314 GB, free: 24.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8825, allocations: 6.469 kB / 1.314 GB, free: 24.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8825, allocations: 96 / 1.314 GB, free: 24.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.8827, allocations: 58.91 kB / 1.315 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8827, allocations: 2.281 kB / 1.315 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.8829, allocations: 36.91 kB / 1.315 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.8829, allocations: 7 kB / 1.315 GB, free: 24.48 MB / 1.061 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 6.616e-05/0.883, allocations: 123.2 kB / 1.315 GB, free: 24.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.883, allocations: 14.08 kB / 1.315 GB, free: 24.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.8834, allocations: 182.5 kB / 1.315 GB, free: 24.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8834, allocations: 2.75 kB / 1.315 GB, free: 24.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8834, allocations: 0 / 1.315 GB, free: 24.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8834, allocations: 3.938 kB / 1.315 GB, free: 24.26 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.8836, allocations: 217.7 kB / 1.315 GB, free: 24.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8836, allocations: 4 kB / 1.315 GB, free: 24.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.8837, allocations: 29.72 kB / 1.315 GB, free: 24.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8837, allocations: 4 kB / 1.315 GB, free: 24.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.8838, allocations: 10.88 kB / 1.315 GB, free: 24.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8838, allocations: 0 / 1.315 GB, free: 24.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8838, allocations: 3.281 kB / 1.315 GB, free: 24.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.8841, allocations: 258.9 kB / 1.315 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.8842, allocations: 94.17 kB / 1.315 GB, free: 23.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.8842, allocations: 7.875 kB / 1.316 GB, free: 23.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.8843, allocations: 15.92 kB / 1.316 GB, free: 23.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.8844, allocations: 8.656 kB / 1.316 GB, free: 23.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.8844, allocations: 6.75 kB / 1.316 GB, free: 23.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.8844, allocations: 110.6 kB / 1.316 GB, free: 23.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8844, allocations: 0 / 1.316 GB, free: 23.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003228/0.8847, allocations: 65.03 kB / 1.316 GB, free: 23.64 MB / 1.061 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.0007186/0.8855, allocations: 0.8595 MB / 1.317 GB, free: 22.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.8859, allocations: 158 kB / 1.317 GB, free: 22.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8859, allocations: 4.188 kB / 1.317 GB, free: 22.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.8861, allocations: 65.44 kB / 1.317 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.8864, allocations: 28.16 kB / 1.317 GB, free: 22.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.8885, allocations: 1.947 MB / 1.319 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.8886, allocations: 0.7042 MB / 1.319 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.761e-05/0.8887, allocations: 20.62 kB / 1.319 GB, free: 20.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.8887, allocations: 35.06 kB / 1.319 GB, free: 20.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.8887, allocations: 0 / 1.319 GB, free: 20.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.915, allocations: 4.302 MB / 1.324 GB, free: 20.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.99, allocations: 5.094 kB / 1.324 GB, free: 20.03 MB / 1.061 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.31760659813881]