Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001109/0.001109, allocations: 187 kB / 17.34 MB, free: 5.742 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.14 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.478/2.478, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 60.14 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.963/0.9652, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2036/1.169, allocations: 177.2 MB / 1.34 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007743/1.177, allocations: 4.382 MB / 1.345 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.178, allocations: 27.81 kB / 1.345 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/1.179, allocations: 369.8 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003647/1.183, allocations: 1.308 MB / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/1.185, allocations: 0.6961 MB / 1.347 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002332/1.187, allocations: 1.625 MB / 1.349 GB, free: 9.598 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/1.188, allocations: 0.533 MB / 1.349 GB, free: 9.059 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/1.19, allocations: 0.6944 MB / 1.35 GB, free: 8.363 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/1.191, allocations: 0.4887 MB / 1.35 GB, free: 7.875 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/1.191, allocations: 52 kB / 1.35 GB, free: 7.824 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/1.194, allocations: 1.302 MB / 1.352 GB, free: 6.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.194, allocations: 231.4 kB / 1.352 GB, free: 6.293 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006221/1.195, allocations: 350.4 kB / 1.352 GB, free: 5.949 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/1.197, allocations: 1.285 MB / 1.353 GB, free: 4.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.197, allocations: 0 / 1.353 GB, free: 4.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.197, allocations: 0 / 1.353 GB, free: 4.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.282e-05/1.197, allocations: 0 / 1.353 GB, free: 4.66 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002072/1.199, allocations: 1.001 MB / 1.354 GB, free: 3.609 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.199, allocations: 8.922 kB / 1.354 GB, free: 3.602 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.201, allocations: 171 kB / 1.354 GB, free: 3.434 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/1.202, allocations: 0.5596 MB / 1.355 GB, free: 2.832 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/1.202, allocations: 33 kB / 1.355 GB, free: 2.801 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/1.202, allocations: 44 kB / 1.355 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/1.203, allocations: 466.3 kB / 1.356 GB, free: 2.297 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.203, allocations: 0 / 1.356 GB, free: 2.297 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/1.203, allocations: 16 kB / 1.356 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/1.203, allocations: 24.92 kB / 1.356 GB, free: 2.254 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/1.204, allocations: 423.7 kB / 1.356 GB, free: 1.844 MB / 1.076 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.002954/1.207, allocations: 2.031 MB / 1.358 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/1.207, allocations: 290.8 kB / 1.358 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/1.207, allocations: 187 kB / 1.358 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/1.208, allocations: 190.2 kB / 1.359 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.208, allocations: 46.5 kB / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/1.208, allocations: 0 / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.00163/1.209, allocations: 0.6355 MB / 1.359 GB, free: 14.21 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.21, allocations: 59.34 kB / 1.359 GB, free: 14.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/1.21, allocations: 450 kB / 1.36 GB, free: 13.69 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/1.21, allocations: 33.7 kB / 1.36 GB, free: 13.65 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/1.21, allocations: 280.1 kB / 1.36 GB, free: 13.37 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/1.21, allocations: 102.5 kB / 1.36 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.21, allocations: 73.61 kB / 1.36 GB, free: 13.19 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.211, allocations: 350.8 kB / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/1.211, allocations: 132.8 kB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/1.211, allocations: 211.8 kB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/1.212, allocations: 326.5 kB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.212, allocations: 7.938 kB / 1.361 GB, free: 12.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006688/1.212, allocations: 408.8 kB / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.212, allocations: 4 kB / 1.362 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.212, allocations: 0 / 1.362 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.212, allocations: 15.91 kB / 1.362 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/1.213, allocations: 71.84 kB / 1.362 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.213, allocations: 8.156 kB / 1.362 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/1.213, allocations: 39.73 kB / 1.362 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/1.213, allocations: 16 kB / 1.362 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004127/1.214, allocations: 292 kB / 1.362 GB, free: 11.29 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002794/1.214, allocations: 194.8 kB / 1.362 GB, free: 11.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005153/1.215, allocations: 317 kB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.215, allocations: 4 kB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000649/1.215, allocations: 413.1 kB / 1.363 GB, free: 10.33 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.215, allocations: 11.94 kB / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.215, allocations: 0 / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/1.215, allocations: 7.938 kB / 1.363 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/1.216, allocations: 63.91 kB / 1.363 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.216, allocations: 8.156 kB / 1.363 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/1.216, allocations: 23.83 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/1.216, allocations: 19.98 kB / 1.363 GB, free: 10.2 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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 0.0001443/1.216, allocations: 200.1 kB / 1.363 GB, free: 9.992 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/1.216, allocations: 55.38 kB / 1.363 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007965/1.217, allocations: 411.1 kB / 1.364 GB, free: 9.527 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.217, allocations: 4 kB / 1.364 GB, free: 9.523 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.217, allocations: 0 / 1.364 GB, free: 9.523 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006534/1.218, allocations: 454.4 kB / 1.364 GB, free: 9.047 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.219, allocations: 1.139 MB / 1.365 GB, free: 7.828 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/1.219, allocations: 224 / 1.365 GB, free: 7.828 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/1.22, allocations: 63.91 kB / 1.365 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/1.22, allocations: 40.83 kB / 1.365 GB, free: 7.723 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/1.22, allocations: 12 kB / 1.365 GB, free: 7.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.221, allocations: 1.547 MB / 1.367 GB, free: 6.027 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.221, allocations: 0 / 1.367 GB, free: 6.027 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.222, allocations: 0.6967 MB / 1.368 GB, free: 5.289 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/1.223, allocations: 160.5 kB / 1.368 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/1.223, allocations: 12.06 kB / 1.368 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/1.223, allocations: 23.91 kB / 1.368 GB, free: 5.078 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/1.223, allocations: 31.84 kB / 1.368 GB, free: 5.047 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/1.223, allocations: 12 kB / 1.368 GB, free: 5.035 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003384/1.223, allocations: 322.9 kB / 1.368 GB, free: 4.723 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.223, allocations: 0 / 1.368 GB, free: 4.723 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000809/1.224, allocations: 303.2 kB / 1.368 GB, free: 4.426 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004559/1.225, allocations: 186.6 kB / 1.369 GB, free: 4.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009008/1.226, allocations: 487.5 kB / 1.369 GB, free: 3.766 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.226, allocations: 4.625 kB / 1.369 GB, free: 3.762 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004731/1.226, allocations: 291.4 kB / 1.369 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.227, allocations: 300.6 kB / 1.37 GB, free: 3.18 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/1.229, allocations: 1.127 MB / 1.371 GB, free: 2 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/1.23, allocations: 0.9014 MB / 1.372 GB, free: 1.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/1.23, allocations: 43.44 kB / 1.372 GB, free: 1.027 MB / 1.092 GB Notification: Performance of SimCode: time 2.01e-07/1.23, allocations: 0 / 1.372 GB, free: 1.027 MB / 1.092 GB Notification: Performance of Templates: time 0.01266/1.242, allocations: 9.679 MB / 1.381 GB, free: 7.43 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches