Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007443/0.007443, allocations: 100.2 kB / 15.87 MB, free: 6.297 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.00149/0.00149, allocations: 205.1 kB / 16.8 MB, free: 6.223 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 68.64 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3207, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03018/0.3509, allocations: 26.16 MB / 1.078 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.362, allocations: 7.175 MB / 1.085 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.3636, allocations: 31.81 kB / 1.085 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.365, allocations: 326.2 kB / 1.086 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3684, allocations: 1.027 MB / 1.087 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.3711, allocations: 0.8626 MB / 1.087 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.3748, allocations: 2.803 MB / 1.09 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.3759, allocations: 0.5273 MB / 1.091 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.3773, allocations: 0.6144 MB / 1.091 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.3781, allocations: 0.5482 MB / 1.092 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.3782, allocations: 28 kB / 1.092 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3799, allocations: 0.7796 MB / 1.093 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3801, allocations: 143.4 kB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.3805, allocations: 358.1 kB / 1.093 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.3817, allocations: 0.9004 MB / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3818, allocations: 0 / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3818, allocations: 4 kB / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.3818, allocations: 0 / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001681/0.3835, allocations: 1.047 MB / 1.095 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3835, allocations: 8.031 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.3839, allocations: 95.98 kB / 1.095 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.385, allocations: 0.7294 MB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.3851, allocations: 40.94 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.3852, allocations: 47.98 kB / 1.096 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.3859, allocations: 0.4962 MB / 1.096 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.386, allocations: 8 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.386, allocations: 16 kB / 1.096 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3861, allocations: 12 kB / 1.096 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.3866, allocations: 323.7 kB / 1.097 GB, free: 10.96 MB / 0.8575 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.002782/0.3894, allocations: 2.74 MB / 1.099 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3897, allocations: 198.5 kB / 1.1 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3898, allocations: 97.56 kB / 1.1 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.3902, allocations: 340.4 kB / 1.1 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3902, allocations: 42.88 kB / 1.1 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.3902, allocations: 7.938 kB / 1.1 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0005983/0.3908, allocations: 302.3 kB / 1.1 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3909, allocations: 51.41 kB / 1.1 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.3915, allocations: 0.5108 MB / 1.101 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3915, allocations: 33.7 kB / 1.101 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.3918, allocations: 355.4 kB / 1.101 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.3918, allocations: 74.84 kB / 1.101 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.392, allocations: 77.61 kB / 1.101 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3921, allocations: 366.8 kB / 1.102 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3923, allocations: 100.8 kB / 1.102 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.3925, allocations: 233.9 kB / 1.102 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3929, allocations: 341.9 kB / 1.102 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3929, allocations: 3.938 kB / 1.102 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005712/0.3935, allocations: 389.1 kB / 1.103 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3935, allocations: 9.25 kB / 1.103 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3935, allocations: 4 kB / 1.103 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3936, allocations: 8.562 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3938, allocations: 83.84 kB / 1.103 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3939, allocations: 4 kB / 1.103 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.3943, allocations: 55.56 kB / 1.103 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3943, allocations: 23.94 kB / 1.103 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003077/0.3947, allocations: 252.9 kB / 1.103 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002287/0.3949, allocations: 229.9 kB / 1.103 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003582/0.3953, allocations: 331.5 kB / 1.104 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.3953, allocations: 4 kB / 1.104 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000548/0.3958, allocations: 392.4 kB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.3958, allocations: 4 kB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3958, allocations: 7.938 kB / 1.104 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3959, allocations: 8 kB / 1.104 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3961, allocations: 75.91 kB / 1.104 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3961, allocations: 16.44 kB / 1.104 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.3965, allocations: 47.81 kB / 1.104 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.3965, allocations: 16 kB / 1.104 GB, free: 2.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001554/0.3967, allocations: 204.1 kB / 1.105 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3968, allocations: 59.34 kB / 1.105 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.3973, allocations: 278.5 kB / 1.105 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3973, allocations: 11.92 kB / 1.105 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3973, allocations: 0 / 1.105 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003352/0.3977, allocations: 374.4 kB / 1.105 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.3992, allocations: 1.061 MB / 1.106 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3992, allocations: 0 / 1.106 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3994, allocations: 47.92 kB / 1.106 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3994, allocations: 4.281 kB / 1.106 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3994, allocations: 15.98 kB / 1.106 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3994, allocations: 4 kB / 1.106 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3995, allocations: 7.938 kB / 1.106 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.4001, allocations: 0.5189 MB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.4004, allocations: 172.4 kB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.4004, allocations: 11.94 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.4008, allocations: 39.88 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4009, allocations: 23.86 kB / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.4009, allocations: 15.98 kB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004599/0.4014, allocations: 403.1 kB / 1.107 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4014, allocations: 0 / 1.107 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001034/0.4024, allocations: 347.3 kB / 1.108 GB, free: 14.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006743/0.4031, allocations: 294.8 kB / 1.108 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4038, allocations: 396.3 kB / 1.108 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4038, allocations: 0 / 1.108 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.404, allocations: 113.3 kB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4058, allocations: 371.2 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.4075, allocations: 1.348 MB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.408, allocations: 0.8905 MB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4081, allocations: 55.42 kB / 1.111 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.4081, allocations: 4 kB / 1.111 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01587/0.424, allocations: 10.7 MB / 1.122 GB, free: 0.6641 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches