Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0008038/0.0008038, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008073/0.0008073, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8577/0.8577, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.675/1.675, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.339e-05, allocations: 4.953 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003897/0.003911, allocations: 4.425 MB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.004811, allocations: 0.7592 MB / 0.9861 GB, free: 13.35 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.004861, allocations: 4 kB / 0.9861 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.005005, allocations: 31.72 kB / 0.9861 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.005043, allocations: 35.7 kB / 0.9861 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.005428, allocations: 179.2 kB / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.005556, allocations: 179.3 kB / 0.9865 GB, free: 12.93 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.005626, allocations: 17.3 kB / 0.9865 GB, free: 12.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.005767, allocations: 107.8 kB / 0.9866 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.005829, allocations: 59.86 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.005847, allocations: 12 kB / 0.9867 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.006044, allocations: 147.6 kB / 0.9868 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.006067, allocations: 31.91 kB / 0.9868 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.006106, allocations: 47.89 kB / 0.9869 GB, free: 12.51 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.006346, allocations: 263.2 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006348, allocations: 4 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006349, allocations: 0 / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.006353, allocations: 0 / 0.9871 GB, free: 12.25 MB / 0.948 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.0005338/0.006887, allocations: 405.5 kB / 0.9875 GB, free: 11.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.00692, allocations: 8.031 kB / 0.9875 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.006951, allocations: 38.75 kB / 0.9876 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.00699, allocations: 16.84 kB / 0.9876 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.007071, allocations: 123.6 kB / 0.9877 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.007083, allocations: 12.38 kB / 0.9877 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.007099, allocations: 16.38 kB / 0.9877 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.007292, allocations: 122.1 kB / 0.9878 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.007299, allocations: 192 / 0.9878 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007312, allocations: 11.94 kB / 0.9879 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.007317, allocations: 0 / 0.9879 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.007531, allocations: 139.9 kB / 0.988 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.008084, allocations: 411.7 kB / 0.9884 GB, free: 10.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.00825, allocations: 118.5 kB / 0.9885 GB, free: 10.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/0.008344, allocations: 68.75 kB / 0.9886 GB, free: 10.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.008913, allocations: 476.1 kB / 0.989 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.008935, allocations: 38.55 kB / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.008936, allocations: 0 / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003642/0.0093, allocations: 209.4 kB / 0.9892 GB, free: 9.926 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.009328, allocations: 59.28 kB / 0.9893 GB, free: 9.855 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.009426, allocations: 173 kB / 0.9895 GB, free: 9.676 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.009439, allocations: 25.7 kB / 0.9895 GB, free: 9.645 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.009488, allocations: 108.5 kB / 0.9896 GB, free: 9.535 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.009507, allocations: 39.66 kB / 0.9896 GB, free: 9.496 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.009561, allocations: 49.69 kB / 0.9897 GB, free: 9.441 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.00963, allocations: 322.8 kB / 0.99 GB, free: 9.117 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.009748, allocations: 79.89 kB / 0.9901 GB, free: 9.039 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.009878, allocations: 107.4 kB / 0.9902 GB, free: 8.922 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01011, allocations: 169.3 kB / 0.9903 GB, free: 8.746 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01011, allocations: 4 kB / 0.9903 GB, free: 8.742 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003057/0.01042, allocations: 245.3 kB / 0.9906 GB, free: 8.496 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01043, allocations: 4 kB / 0.9906 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01043, allocations: 0 / 0.9906 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01044, allocations: 7.938 kB / 0.9906 GB, free: 8.484 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.01058, allocations: 52.06 kB / 0.9906 GB, free: 8.434 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01059, allocations: 11.92 kB / 0.9906 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.01066, allocations: 27.81 kB / 0.9907 GB, free: 8.395 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01068, allocations: 12 kB / 0.9907 GB, free: 8.383 MB / 0.948 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.928e-05/0.01074, allocations: 124 kB / 0.9908 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.01076, allocations: 15.91 kB / 0.9908 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.01103, allocations: 178.9 kB / 0.991 GB, free: 8.047 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01104, allocations: 4 kB / 0.991 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.01104, allocations: 3.938 kB / 0.991 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01105, allocations: 3.984 kB / 0.991 GB, free: 8.035 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.01119, allocations: 180.6 kB / 0.9912 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01119, allocations: 0 / 0.9912 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.01126, allocations: 35.97 kB / 0.9912 GB, free: 7.781 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01126, allocations: 0 / 0.9912 GB, free: 7.781 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01127, allocations: 0 / 0.9912 GB, free: 7.781 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01127, allocations: 4 kB / 0.9912 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01127, allocations: 3.938 kB / 0.9912 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.01151, allocations: 267.7 kB / 0.9915 GB, free: 7.496 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.01154, allocations: 19.94 kB / 0.9915 GB, free: 7.477 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01156, allocations: 7.984 kB / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.01162, allocations: 11.98 kB / 0.9915 GB, free: 7.457 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.01166, allocations: 15.92 kB / 0.9915 GB, free: 7.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.01166, allocations: 8 kB / 0.9915 GB, free: 7.434 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.01172, allocations: 113.6 kB / 0.9916 GB, free: 7.324 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01172, allocations: 0 / 0.9916 GB, free: 7.324 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002263/0.01194, allocations: 63.86 kB / 0.9917 GB, free: 7.262 MB / 0.948 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.0005267/0.01247, allocations: 0.8467 MB / 0.9925 GB, free: 6.387 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01274, allocations: 158.7 kB / 0.9927 GB, free: 6.234 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01274, allocations: 4.188 kB / 0.9927 GB, free: 6.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01284, allocations: 63.89 kB / 0.9927 GB, free: 6.168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01307, allocations: 26.52 kB / 0.9928 GB, free: 6.145 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.01487, allocations: 1.958 MB / 0.9947 GB, free: 4.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.01492, allocations: 97.67 kB / 0.9948 GB, free: 3.973 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.01498, allocations: 25.06 kB / 0.9948 GB, free: 3.949 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.01504, allocations: 40.48 kB / 0.9948 GB, free: 3.91 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01504, allocations: 0 / 0.9948 GB, free: 3.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.03101, allocations: 5.091 MB / 0.9998 GB, free: 15 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.695, allocations: 5.938 kB / 0.9998 GB, free: 14.99 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.705080008134246]