Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001086/0.001086, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.2 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7688/1.062, allocations: 187.9 MB / 1.134 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0175/1.079, allocations: 10.75 MB / 1.144 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/1.082, allocations: 42.47 kB / 1.144 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.084, allocations: 0.4885 MB / 1.145 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008054/1.092, allocations: 2.577 MB / 1.147 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008088/1.1, allocations: 2.449 MB / 1.15 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005047/1.105, allocations: 2.769 MB / 1.152 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/1.107, allocations: 0.7811 MB / 1.153 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/1.109, allocations: 0.9931 MB / 1.154 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/1.112, allocations: 1.06 MB / 1.155 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/1.112, allocations: 97.69 kB / 1.155 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/1.12, allocations: 2.992 MB / 1.158 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008344/1.121, allocations: 443.6 kB / 1.159 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.122, allocations: 0.5843 MB / 1.159 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008439/1.13, allocations: 2.928 MB / 1.162 GB, free: 124 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.13, allocations: 0 / 1.162 GB, free: 124 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/1.13, allocations: 0 / 1.162 GB, free: 124 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.13, allocations: 0 / 1.162 GB, free: 124 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004864/1.135, allocations: 1.674 MB / 1.164 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.135, allocations: 10.22 kB / 1.164 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.137, allocations: 298 kB / 1.164 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.139, allocations: 0.7721 MB / 1.165 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/1.139, allocations: 58.83 kB / 1.165 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.139, allocations: 63.08 kB / 1.165 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/1.141, allocations: 0.9973 MB / 1.166 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.141, allocations: 0 / 1.166 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/1.141, allocations: 27.58 kB / 1.166 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/1.141, allocations: 84.39 kB / 1.166 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.143, allocations: 1.008 MB / 1.167 GB, free: 13.7 MB / 0.8731 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.00635/1.149, allocations: 3.596 MB / 1.17 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.15, allocations: 0.6576 MB / 1.171 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/1.151, allocations: 379.6 kB / 1.171 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/1.151, allocations: 197.3 kB / 1.172 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.151, allocations: 41.88 kB / 1.172 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 8.386e-06/1.151, allocations: 0 / 1.172 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.002058/1.153, allocations: 1.033 MB / 1.173 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/1.153, allocations: 114.2 kB / 1.173 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.154, allocations: 0.8017 MB / 1.173 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/1.154, allocations: 38.73 kB / 1.174 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/1.155, allocations: 422.8 kB / 1.174 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/1.155, allocations: 226.9 kB / 1.174 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/1.155, allocations: 143 kB / 1.174 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.155, allocations: 334.2 kB / 1.175 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/1.156, allocations: 343.2 kB / 1.175 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/1.156, allocations: 463.5 kB / 1.175 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.158, allocations: 0.7674 MB / 1.176 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.158, allocations: 2.562 kB / 1.176 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001551/1.159, allocations: 0.938 MB / 1.177 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.159, allocations: 6 kB / 1.177 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.159, allocations: 6.781 kB / 1.177 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.159, allocations: 4.344 kB / 1.177 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/1.16, allocations: 145.3 kB / 1.177 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.16, allocations: 5.094 kB / 1.177 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.161, allocations: 82.88 kB / 1.177 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/1.161, allocations: 28.97 kB / 1.177 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009555/1.162, allocations: 0.5378 MB / 1.178 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006364/1.163, allocations: 449.7 kB / 1.178 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/1.164, allocations: 0.7334 MB / 1.179 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/1.164, allocations: 0 / 1.179 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00147/1.165, allocations: 0.8924 MB / 1.18 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.165, allocations: 8.156 kB / 1.18 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.165, allocations: 2.406 kB / 1.18 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.165, allocations: 5.938 kB / 1.18 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/1.166, allocations: 150 kB / 1.18 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.166, allocations: 11.86 kB / 1.18 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/1.167, allocations: 62.33 kB / 1.18 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/1.167, allocations: 29.83 kB / 1.18 GB, free: 5.676 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002555/1.167, allocations: 225.7 kB / 1.18 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.168, allocations: 95.03 kB / 1.18 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.169, allocations: 0.8003 MB / 1.181 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.169, allocations: 8.156 kB / 1.181 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.169, allocations: 4 kB / 1.181 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/1.17, allocations: 0.7479 MB / 1.182 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/1.174, allocations: 2.093 MB / 1.184 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.174, allocations: 2.438 kB / 1.184 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/1.174, allocations: 136.4 kB / 1.184 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.174, allocations: 5.062 kB / 1.184 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/1.174, allocations: 28.42 kB / 1.184 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/1.174, allocations: 7.875 kB / 1.184 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.174, allocations: 7.172 kB / 1.184 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.176, allocations: 1.359 MB / 1.185 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/1.177, allocations: 259 kB / 1.186 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/1.177, allocations: 18.86 kB / 1.186 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/1.178, allocations: 21.86 kB / 1.186 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/1.178, allocations: 41.86 kB / 1.186 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/1.178, allocations: 22.38 kB / 1.186 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008074/1.179, allocations: 0.5601 MB / 1.186 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.179, allocations: 0 / 1.186 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002506/1.181, allocations: 0.7513 MB / 1.187 GB, free: 1.379 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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.001872/1.183, allocations: 0.5403 MB / 1.188 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.186, allocations: 1.322 MB / 1.189 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.186, allocations: 1.125 kB / 1.189 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/1.186, allocations: 371.5 kB / 1.189 GB, free: 368 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.19, allocations: 0.5374 MB / 1.19 GB, free: 84 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/1.194, allocations: 1.985 MB / 1.192 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/1.194, allocations: 1.076 MB / 1.193 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.195, allocations: 79.61 kB / 1.193 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/1.195, allocations: 0 / 1.193 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of Templates: time 0.03432/1.229, allocations: 18.47 MB / 1.211 GB, free: 2.199 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches