Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001382/0.001382, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001315/0.001315, allocations: 185.6 kB / 17.34 MB, free: 5.738 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8018, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01622/0.8181, allocations: 14.44 MB / 1.181 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.8236, allocations: 3.648 MB / 1.185 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.8244, allocations: 19.88 kB / 1.185 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.8253, allocations: 206.7 kB / 1.185 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.8271, allocations: 0.6103 MB / 1.186 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.8282, allocations: 403 kB / 1.186 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.8298, allocations: 1.091 MB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.8303, allocations: 328.5 kB / 1.188 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.8315, allocations: 395.2 kB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.832, allocations: 306.6 kB / 1.188 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.8321, allocations: 36 kB / 1.188 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.8327, allocations: 255.5 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.8328, allocations: 99.59 kB / 1.189 GB, free: 14.03 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.8331, allocations: 211.1 kB / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008915/0.834, allocations: 0.5858 MB / 1.189 GB, free: 13.24 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.834, allocations: 4 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.834, allocations: 7.875 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.834, allocations: 0 / 1.189 GB, free: 13.23 MB / 0.92 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.001301/0.8353, allocations: 0.7379 MB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.8354, allocations: 16.92 kB / 1.19 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.8356, allocations: 44.47 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.8364, allocations: 471.6 kB / 1.191 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.8365, allocations: 20.94 kB / 1.191 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.8365, allocations: 35.92 kB / 1.191 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.8371, allocations: 298.2 kB / 1.191 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.8372, allocations: 7.906 kB / 1.191 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.8372, allocations: 15.94 kB / 1.191 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.8372, allocations: 15.97 kB / 1.191 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.8377, allocations: 194.1 kB / 1.191 GB, free: 11.28 MB / 0.92 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.001822/0.8395, allocations: 1.485 MB / 1.193 GB, free: 9.668 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.84, allocations: 154.6 kB / 1.193 GB, free: 9.508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.8402, allocations: 69.62 kB / 1.193 GB, free: 9.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.8403, allocations: 89.09 kB / 1.193 GB, free: 9.332 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.8406, allocations: 125.7 kB / 1.193 GB, free: 9.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.8406, allocations: 0 / 1.193 GB, free: 9.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006417/0.8413, allocations: 233.1 kB / 1.193 GB, free: 8.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.8413, allocations: 63.33 kB / 1.193 GB, free: 8.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.8417, allocations: 345.5 kB / 1.194 GB, free: 8.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.8417, allocations: 33.7 kB / 1.194 GB, free: 8.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.8419, allocations: 215.8 kB / 1.194 GB, free: 8.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.8419, allocations: 59.19 kB / 1.194 GB, free: 8.234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.842, allocations: 53.7 kB / 1.194 GB, free: 8.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8422, allocations: 338.8 kB / 1.194 GB, free: 7.836 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.8424, allocations: 67.95 kB / 1.194 GB, free: 7.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.8426, allocations: 145.4 kB / 1.194 GB, free: 7.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.843, allocations: 245.2 kB / 1.195 GB, free: 7.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.843, allocations: 0 / 1.195 GB, free: 7.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006119/0.8437, allocations: 306.6 kB / 1.195 GB, free: 7.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.8437, allocations: 41.69 kB / 1.195 GB, free: 6.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8437, allocations: 4 kB / 1.195 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.8437, allocations: 4 kB / 1.195 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.844, allocations: 60.16 kB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.844, allocations: 4 kB / 1.195 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.8443, allocations: 39.61 kB / 1.195 GB, free: 6.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.8443, allocations: 16 kB / 1.195 GB, free: 6.832 MB / 0.92 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.0001585/0.8445, allocations: 161.7 kB / 1.195 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.8446, allocations: 31.62 kB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.845, allocations: 195.2 kB / 1.196 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.8451, allocations: 7.938 kB / 1.196 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8451, allocations: 3.938 kB / 1.196 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004732/0.8455, allocations: 479.8 kB / 1.196 GB, free: 5.871 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.846, allocations: 357.3 kB / 1.196 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.846, allocations: 3.938 kB / 1.196 GB, free: 5.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.8462, allocations: 27.98 kB / 1.196 GB, free: 5.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8462, allocations: 3.984 kB / 1.196 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.8462, allocations: 12 kB / 1.196 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8462, allocations: 3.938 kB / 1.196 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8462, allocations: 0 / 1.196 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.8468, allocations: 272.6 kB / 1.197 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.847, allocations: 128.7 kB / 1.197 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.847, allocations: 16.03 kB / 1.197 GB, free: 4.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.8473, allocations: 19.92 kB / 1.197 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.8474, allocations: 11.97 kB / 1.197 GB, free: 4.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.8474, allocations: 15.98 kB / 1.197 GB, free: 4.93 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002523/0.8477, allocations: 247.2 kB / 1.197 GB, free: 4.695 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8477, allocations: 0 / 1.197 GB, free: 4.695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004458/0.8481, allocations: 124 kB / 1.197 GB, free: 4.574 MB / 0.92 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.0003563/0.8485, allocations: 191.1 kB / 1.197 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.849, allocations: 229.1 kB / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.849, allocations: 0 / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.8492, allocations: 77.02 kB / 1.198 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009246/0.8501, allocations: 209.5 kB / 1.198 GB, free: 3.867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.8516, allocations: 0.7676 MB / 1.199 GB, free: 3.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.8519, allocations: 0.7879 MB / 1.199 GB, free: 2.258 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.852, allocations: 39.42 kB / 1.199 GB, free: 2.219 MB / 0.92 GB Notification: Performance of SimCode: time 1.854e-06/0.852, allocations: 0 / 1.199 GB, free: 2.219 MB / 0.92 GB Notification: Performance of Templates: time 0.009625/0.8616, allocations: 6.17 MB / 1.205 GB, free: 12.11 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches