Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0008872/0.0008874, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.006107/0.006107, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.093/3.093, allocations: 470.6 MB / 0.7441 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 8.688 kB / 0.9123 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2568/0.7092, allocations: 183.7 MB / 1.249 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8464/1.556, allocations: 11.01 MB / 1.26 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/1.558, allocations: 41.09 kB / 1.26 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/1.559, allocations: 433.5 kB / 1.261 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008048/1.567, allocations: 2.415 MB / 1.263 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008648/1.576, allocations: 2.077 MB / 1.265 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006745/1.583, allocations: 3.993 MB / 1.269 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/1.584, allocations: 0.6553 MB / 1.269 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/1.587, allocations: 0.8374 MB / 1.27 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/1.59, allocations: 1.054 MB / 1.271 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/1.59, allocations: 48.31 kB / 1.271 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.601, allocations: 3.29 MB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/1.602, allocations: 387.8 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001841/1.604, allocations: 0.5444 MB / 1.275 GB, free: 20.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.616, allocations: 3.001 MB / 1.278 GB, free: 20.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.616, allocations: 0 / 1.278 GB, free: 20.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.416e-06/1.616, allocations: 1.188 kB / 1.278 GB, free: 20.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.275e-05/1.616, allocations: 4 kB / 1.278 GB, free: 20.66 MB / 1.014 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.005481/1.622, allocations: 1.474 MB / 1.28 GB, free: 19.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.622, allocations: 8 kB / 1.28 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/1.624, allocations: 296.7 kB / 1.28 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/1.626, allocations: 0.7729 MB / 1.281 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/1.626, allocations: 50.91 kB / 1.281 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/1.626, allocations: 71.78 kB / 1.281 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.628, allocations: 0.9937 MB / 1.282 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.628, allocations: 0 / 1.282 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/1.628, allocations: 26.58 kB / 1.282 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/1.628, allocations: 81.91 kB / 1.282 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.63, allocations: 1.012 MB / 1.283 GB, free: 19.32 MB / 1.014 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.00686/1.637, allocations: 3.587 MB / 1.287 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.638, allocations: 0.6626 MB / 1.287 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/1.639, allocations: 378 kB / 1.288 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/1.639, allocations: 194.8 kB / 1.288 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.639, allocations: 46.53 kB / 1.288 GB, free: 17.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 4.569e-06/1.639, allocations: 0.9688 kB / 1.288 GB, free: 17.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002397/1.642, allocations: 1.018 MB / 1.289 GB, free: 17.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.642, allocations: 110 kB / 1.289 GB, free: 17.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.643, allocations: 0.8027 MB / 1.29 GB, free: 17.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.643, allocations: 40.33 kB / 1.29 GB, free: 17.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/1.644, allocations: 424.8 kB / 1.29 GB, free: 17.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.644, allocations: 220.7 kB / 1.29 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.644, allocations: 63.91 kB / 1.29 GB, free: 17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.644, allocations: 338.3 kB / 1.291 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/1.645, allocations: 330.8 kB / 1.291 GB, free: 16.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/1.646, allocations: 468.8 kB / 1.291 GB, free: 16.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.647, allocations: 0.7747 MB / 1.292 GB, free: 16.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.647, allocations: 0 / 1.292 GB, free: 16.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001811/1.649, allocations: 0.9293 MB / 1.293 GB, free: 16.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.649, allocations: 158.2 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.649, allocations: 6.031 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/1.649, allocations: 5.469 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/1.65, allocations: 151.8 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.65, allocations: 5.375 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.651, allocations: 107 kB / 1.294 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/1.651, allocations: 32.22 kB / 1.294 GB, free: 16.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/1.651, allocations: 4.344 kB / 1.294 GB, free: 16.19 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/1.652, allocations: 0.7771 MB / 1.294 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.652, allocations: 3.094 kB / 1.294 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.652, allocations: 4.969 kB / 1.294 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/1.653, allocations: 149.8 kB / 1.294 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.653, allocations: 9.375 kB / 1.295 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.654, allocations: 101.7 kB / 1.295 GB, free: 16.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/1.654, allocations: 25.75 kB / 1.295 GB, free: 16.13 MB / 1.014 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.0007909/1.655, allocations: 378.3 kB / 1.295 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/1.655, allocations: 96.22 kB / 1.295 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.657, allocations: 0.8052 MB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.657, allocations: 6.406 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.657, allocations: 0.9688 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/1.658, allocations: 0.7401 MB / 1.297 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/1.663, allocations: 2.088 MB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.663, allocations: 3.656 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/1.663, allocations: 138.9 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.663, allocations: 5.312 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/1.663, allocations: 22.2 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.663, allocations: 8.594 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/1.663, allocations: 10.3 kB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.666, allocations: 1.352 MB / 1.3 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/1.666, allocations: 264 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.666, allocations: 19 kB / 1.3 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/1.667, allocations: 56.77 kB / 1.3 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/1.667, allocations: 51.66 kB / 1.301 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/1.667, allocations: 24.8 kB / 1.301 GB, free: 14.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001048/1.669, allocations: 0.5564 MB / 1.301 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.669, allocations: 3.938 kB / 1.301 GB, free: 14.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003277/1.672, allocations: 0.743 MB / 1.302 GB, free: 14.51 MB / 1.014 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.002779/1.675, allocations: 0.5482 MB / 1.302 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002493/1.677, allocations: 1.173 MB / 1.303 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.677, allocations: 320 / 1.303 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/1.678, allocations: 373.3 kB / 1.304 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/1.681, allocations: 0.5138 MB / 1.304 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/1.686, allocations: 2.325 MB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.687, allocations: 1.077 MB / 1.308 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00179/1.688, allocations: 422.5 kB / 1.308 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/1.689, allocations: 78.34 kB / 1.308 GB, free: 12.28 MB / 1.014 GB Notification: Performance of SimCode: time 1.713e-06/1.689, allocations: 1.75 kB / 1.308 GB, free: 12.28 MB / 1.014 GB Notification: Performance of Templates: time 0.04755/1.736, allocations: 21.93 MB / 1.33 GB, free: 5.797 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches