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.001762/0.001762, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001944/0.001944, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.391/2.391, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 73.55 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0166/0.3185, allocations: 14.44 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005291/0.3238, allocations: 3.64 MB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.3245, allocations: 15.94 kB / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.3252, allocations: 210.7 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3269, allocations: 0.5868 MB / 1.036 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.3279, allocations: 383.4 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.3293, allocations: 1.085 MB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.3299, allocations: 316.6 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.331, allocations: 380.8 kB / 1.038 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.3315, allocations: 314.6 kB / 1.039 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.3316, allocations: 35.94 kB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.3323, allocations: 263.5 kB / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3325, allocations: 103.6 kB / 1.039 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.3328, allocations: 207 kB / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3338, allocations: 0.5844 MB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3338, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3338, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.3338, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 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.001346/0.3352, allocations: 0.7476 MB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3352, allocations: 8.922 kB / 1.041 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.3355, allocations: 48.45 kB / 1.041 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.3362, allocations: 447.6 kB / 1.041 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3362, allocations: 20.94 kB / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.3363, allocations: 27.94 kB / 1.041 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.3369, allocations: 310.2 kB / 1.041 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3369, allocations: 0 / 1.041 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.337, allocations: 12 kB / 1.041 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.337, allocations: 11.94 kB / 1.042 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.3375, allocations: 194 kB / 1.042 GB, free: 2.105 MB / 0.8106 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.001857/0.3394, allocations: 1.493 MB / 1.043 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.3398, allocations: 154.6 kB / 1.043 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.34, allocations: 68.81 kB / 1.043 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.3402, allocations: 89.05 kB / 1.043 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.3405, allocations: 129.3 kB / 1.044 GB, free: 12 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.3405, allocations: 0 / 1.044 GB, free: 12 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0006686/0.3411, allocations: 225.2 kB / 1.044 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3412, allocations: 59.34 kB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.3416, allocations: 361.5 kB / 1.044 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3416, allocations: 29.7 kB / 1.044 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3418, allocations: 219.7 kB / 1.044 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.3419, allocations: 47.36 kB / 1.044 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.342, allocations: 57.59 kB / 1.045 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3421, allocations: 338.8 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3423, allocations: 67.95 kB / 1.045 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.3425, allocations: 153.8 kB / 1.045 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.343, allocations: 243 kB / 1.045 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.343, allocations: 0 / 1.045 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006157/0.3436, allocations: 312.5 kB / 1.046 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.3437, allocations: 37.69 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3437, allocations: 7.938 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3437, allocations: 4 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3439, allocations: 64.16 kB / 1.046 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.344, allocations: 4 kB / 1.046 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.3442, allocations: 35.67 kB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3443, allocations: 15.94 kB / 1.046 GB, free: 13.63 MB / 0.8262 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.0001667/0.3444, allocations: 160.2 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.3445, allocations: 35.56 kB / 1.046 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.345, allocations: 198.9 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.345, allocations: 3.938 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.345, allocations: 0 / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004988/0.3455, allocations: 487.6 kB / 1.047 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.346, allocations: 349.4 kB / 1.047 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.346, allocations: 0 / 1.047 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.3462, allocations: 35.92 kB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3462, allocations: 8 kB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3462, allocations: 3.984 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3462, allocations: 3.938 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3462, allocations: 0 / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.3468, allocations: 280.5 kB / 1.047 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.347, allocations: 124.7 kB / 1.047 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.3471, allocations: 15.92 kB / 1.047 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3473, allocations: 23.95 kB / 1.047 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.3474, allocations: 19.97 kB / 1.047 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3474, allocations: 7.984 kB / 1.047 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002485/0.3476, allocations: 247.2 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3477, allocations: 0 / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004559/0.3481, allocations: 128 kB / 1.048 GB, free: 11.37 MB / 0.8262 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.0003694/0.3485, allocations: 195.1 kB / 1.048 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.349, allocations: 237.5 kB / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3491, allocations: 0 / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.3492, allocations: 67.95 kB / 1.048 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.3503, allocations: 214.1 kB / 1.048 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3517, allocations: 0.7754 MB / 1.049 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3521, allocations: 0.7918 MB / 1.05 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3522, allocations: 39.42 kB / 1.05 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.3522, allocations: 0 / 1.05 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.009699/0.3619, allocations: 6.144 MB / 1.056 GB, free: 2.914 MB / 0.8262 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