Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.84 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2537, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01871/0.2724, allocations: 14.44 MB / 0.9652 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.2778, allocations: 3.64 MB / 0.9688 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.2784, allocations: 19.88 kB / 0.9688 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.2791, allocations: 206.7 kB / 0.969 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.2808, allocations: 0.5752 MB / 0.9696 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.2819, allocations: 398.9 kB / 0.9699 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.2834, allocations: 1.089 MB / 0.971 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.284, allocations: 308.6 kB / 0.9713 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.2851, allocations: 398.5 kB / 0.9717 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.2856, allocations: 306.6 kB / 0.972 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.2857, allocations: 32 kB / 0.972 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.2863, allocations: 255.5 kB / 0.9722 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2864, allocations: 103.6 kB / 0.9723 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.2867, allocations: 207 kB / 0.9725 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008752/0.2876, allocations: 0.5919 MB / 0.9731 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2876, allocations: 0 / 0.9731 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2876, allocations: 4 kB / 0.9731 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.2876, allocations: 0 / 0.9731 GB, free: 1.461 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001245/0.2889, allocations: 0.7419 MB / 0.9738 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2889, allocations: 8.031 kB / 0.9738 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.2891, allocations: 44.47 kB / 0.9739 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007731/0.2899, allocations: 479.5 kB / 0.9743 GB, free: 112 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.29, allocations: 16.94 kB / 0.9744 GB, free: 92 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.29, allocations: 35.92 kB / 0.9744 GB, free: 56 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.2906, allocations: 306.2 kB / 0.9747 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2906, allocations: 4 kB / 0.9747 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.2907, allocations: 15.97 kB / 0.9747 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2907, allocations: 11.94 kB / 0.9747 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.2912, allocations: 194.1 kB / 0.9749 GB, free: 15.52 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2932, allocations: 1.489 MB / 0.9764 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.2936, allocations: 154.6 kB / 0.9765 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.2938, allocations: 64.81 kB / 0.9766 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.2939, allocations: 97.03 kB / 0.9767 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.2942, allocations: 121.9 kB / 0.9768 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.2942, allocations: 0 / 0.9768 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.000613/0.2948, allocations: 233.1 kB / 0.977 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2949, allocations: 55.34 kB / 0.9771 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.2952, allocations: 353.6 kB / 0.9774 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2953, allocations: 29.7 kB / 0.9774 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2954, allocations: 223.6 kB / 0.9776 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.2955, allocations: 47.34 kB / 0.9777 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.2956, allocations: 53.61 kB / 0.9777 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2957, allocations: 342.8 kB / 0.9781 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2959, allocations: 67.94 kB / 0.9781 GB, free: 12 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.2961, allocations: 150.4 kB / 0.9783 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2966, allocations: 240.9 kB / 0.9785 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2966, allocations: 0 / 0.9785 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006145/0.2972, allocations: 316.5 kB / 0.9788 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.2972, allocations: 34.02 kB / 0.9788 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2972, allocations: 4 kB / 0.9788 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2973, allocations: 4 kB / 0.9788 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2975, allocations: 63.84 kB / 0.9789 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2975, allocations: 4 kB / 0.9789 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2978, allocations: 43.61 kB / 0.9789 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.2978, allocations: 11.94 kB / 0.979 GB, free: 11.06 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001636/0.298, allocations: 159.8 kB / 0.9791 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.2981, allocations: 35.56 kB / 0.9791 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.2985, allocations: 195.2 kB / 0.9793 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2986, allocations: 3.938 kB / 0.9793 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2986, allocations: 0 / 0.9793 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004814/0.299, allocations: 491.7 kB / 0.9798 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.2995, allocations: 345.4 kB / 0.9801 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2995, allocations: 8 kB / 0.9801 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.2997, allocations: 39.91 kB / 0.9802 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2997, allocations: 3.938 kB / 0.9802 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2997, allocations: 0 / 0.9802 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2997, allocations: 3.938 kB / 0.9802 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2997, allocations: 4 kB / 0.9802 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.3003, allocations: 287 kB / 0.9805 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3005, allocations: 128.7 kB / 0.9806 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.3006, allocations: 7.984 kB / 0.9806 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3008, allocations: 19.86 kB / 0.9806 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.3009, allocations: 19.97 kB / 0.9806 GB, free: 9.156 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3009, allocations: 4 kB / 0.9806 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002637/0.3012, allocations: 251.2 kB / 0.9809 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 0 / 0.9809 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004273/0.3016, allocations: 132 kB / 0.981 GB, free: 8.777 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003152/0.3019, allocations: 179.2 kB / 0.9812 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3024, allocations: 231.1 kB / 0.9814 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3025, allocations: 0.625 kB / 0.9814 GB, free: 8.355 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3026, allocations: 79.06 kB / 0.9815 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008837/0.3035, allocations: 206.5 kB / 0.9817 GB, free: 8.086 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3049, allocations: 0.7292 MB / 0.9824 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3052, allocations: 0.7957 MB / 0.9832 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.3054, allocations: 59.25 kB / 0.9832 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.3055, allocations: 39.36 kB / 0.9832 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.3055, allocations: 0 / 0.9832 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.01262/0.3182, allocations: 7.129 MB / 0.9902 GB, free: 15.39 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches