Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_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_10_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.001655/0.001655, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.649/2.649, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5826, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02513/0.6078, allocations: 26.28 MB / 1.043 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00967/0.6175, allocations: 7.142 MB / 1.05 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.6185, allocations: 35.81 kB / 1.05 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009703/0.6195, allocations: 385.5 kB / 1.05 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.622, allocations: 1.108 MB / 1.051 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.6242, allocations: 0.9468 MB / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.6264, allocations: 2.095 MB / 1.054 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.6272, allocations: 0.6157 MB / 1.055 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.6286, allocations: 0.7124 MB / 1.056 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.6292, allocations: 0.5366 MB / 1.056 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.6293, allocations: 52 kB / 1.056 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.6308, allocations: 0.811 MB / 1.057 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.631, allocations: 171.4 kB / 1.057 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.6313, allocations: 382.2 kB / 1.058 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.6327, allocations: 1.2 MB / 1.059 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6327, allocations: 0 / 1.059 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6327, allocations: 0 / 1.059 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6328, allocations: 0 / 1.059 GB, free: 7.902 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001359/0.6341, allocations: 1.051 MB / 1.06 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6342, allocations: 12.03 kB / 1.06 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.6345, allocations: 91.98 kB / 1.06 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.6355, allocations: 0.6983 MB / 1.061 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.6356, allocations: 36.94 kB / 1.061 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.6356, allocations: 44 kB / 1.061 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.6364, allocations: 0.5001 MB / 1.061 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6364, allocations: 3.938 kB / 1.061 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.6365, allocations: 20 kB / 1.061 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.6365, allocations: 16 kB / 1.061 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.637, allocations: 315.7 kB / 1.061 GB, free: 5 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.002544/0.6395, allocations: 2.767 MB / 1.064 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.6399, allocations: 194.5 kB / 1.064 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.64, allocations: 97.94 kB / 1.064 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.6403, allocations: 344.5 kB / 1.065 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.6403, allocations: 46.8 kB / 1.065 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.6404, allocations: 3.938 kB / 1.065 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005465/0.6409, allocations: 300.1 kB / 1.065 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.641, allocations: 55.41 kB / 1.065 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.6415, allocations: 0.5225 MB / 1.066 GB, free: 336 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.6416, allocations: 37.69 kB / 1.066 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.6418, allocations: 347.3 kB / 1.066 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.6419, allocations: 86.83 kB / 1.066 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.642, allocations: 73.61 kB / 1.066 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6421, allocations: 366.8 kB / 1.067 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.6423, allocations: 88.81 kB / 1.067 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.6425, allocations: 237.9 kB / 1.067 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.6429, allocations: 339 kB / 1.067 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6429, allocations: 4 kB / 1.067 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005731/0.6435, allocations: 392.4 kB / 1.068 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6435, allocations: 4 kB / 1.068 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6435, allocations: 4 kB / 1.068 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.6435, allocations: 12.03 kB / 1.068 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.6438, allocations: 83.84 kB / 1.068 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.6438, allocations: 8 kB / 1.068 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.6442, allocations: 43.55 kB / 1.068 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.6442, allocations: 20 kB / 1.068 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002836/0.6445, allocations: 260 kB / 1.068 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000221/0.6447, allocations: 234.7 kB / 1.068 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003644/0.6451, allocations: 328 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.6451, allocations: 0 / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005386/0.6457, allocations: 394.9 kB / 1.069 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.6457, allocations: 4 kB / 1.069 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6457, allocations: 4 kB / 1.069 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.6457, allocations: 8 kB / 1.069 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.6459, allocations: 75.91 kB / 1.069 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.646, allocations: 15.88 kB / 1.069 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.6463, allocations: 36.2 kB / 1.069 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6463, allocations: 16 kB / 1.069 GB, free: 12.6 MB / 0.8262 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.0001204/0.6464, allocations: 204.1 kB / 1.069 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6465, allocations: 55.34 kB / 1.069 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.647, allocations: 284.5 kB / 1.07 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.647, allocations: 7.938 kB / 1.07 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.647, allocations: 0 / 1.07 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003461/0.6474, allocations: 377.4 kB / 1.07 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.6487, allocations: 1.064 MB / 1.071 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6487, allocations: 0 / 1.071 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.6489, allocations: 51.91 kB / 1.071 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.649, allocations: 7.938 kB / 1.071 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.649, allocations: 12 kB / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.649, allocations: 0 / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.649, allocations: 7.938 kB / 1.071 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.6496, allocations: 0.5157 MB / 1.072 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.6498, allocations: 180.2 kB / 1.072 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.6499, allocations: 8 kB / 1.072 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.6502, allocations: 15.92 kB / 1.072 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.6503, allocations: 23.91 kB / 1.072 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.6503, allocations: 19.98 kB / 1.072 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004247/0.6507, allocations: 407.1 kB / 1.072 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6507, allocations: 4 kB / 1.072 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000931/0.6517, allocations: 355.3 kB / 1.072 GB, free: 8.812 MB / 0.8262 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.0005876/0.6523, allocations: 314.5 kB / 1.073 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.6529, allocations: 418.7 kB / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6529, allocations: 0 / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.6531, allocations: 111.2 kB / 1.073 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6547, allocations: 369.9 kB / 1.074 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.6563, allocations: 1.11 MB / 1.075 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6567, allocations: 0.8941 MB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005091/0.6572, allocations: 161 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.6573, allocations: 63.36 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.6573, allocations: 0 / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.02069/0.678, allocations: 12.91 MB / 1.088 GB, free: 8.621 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches