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.001016/0.001016, 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.008091/0.008091, 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.428/1.428, 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 9.1.3-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005305, allocations: 8 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7942, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2178/1.012, allocations: 183.8 MB / 1.134 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01647/1.029, allocations: 11.02 MB / 1.145 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/1.03, allocations: 43.62 kB / 1.145 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/1.032, allocations: 425.7 kB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007163/1.039, allocations: 2.421 MB / 1.148 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006378/1.045, allocations: 2.072 MB / 1.15 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005518/1.051, allocations: 3.991 MB / 1.154 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/1.052, allocations: 0.6458 MB / 1.155 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/1.054, allocations: 0.8363 MB / 1.155 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/1.057, allocations: 1.062 MB / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/1.057, allocations: 44 kB / 1.157 GB, free: 368 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00693/1.064, allocations: 3.289 MB / 1.16 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007725/1.065, allocations: 386.8 kB / 1.16 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/1.066, allocations: 0.5459 MB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006339/1.072, allocations: 2.999 MB / 1.164 GB, free: 9.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.072, allocations: 0 / 1.164 GB, free: 9.121 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.414e-06/1.072, allocations: 0 / 1.164 GB, free: 9.121 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-05/1.072, allocations: 0 / 1.164 GB, free: 9.121 MB / 0.92 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.003623/1.076, allocations: 1.476 MB / 1.165 GB, free: 7.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.076, allocations: 8.031 kB / 1.165 GB, free: 7.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/1.078, allocations: 306.3 kB / 1.165 GB, free: 7.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.08, allocations: 0.7727 MB / 1.166 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/1.08, allocations: 53.3 kB / 1.166 GB, free: 6.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/1.08, allocations: 63.98 kB / 1.166 GB, free: 6.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.082, allocations: 1.004 MB / 1.167 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.082, allocations: 0 / 1.167 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/1.082, allocations: 31.98 kB / 1.167 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.864e-05/1.082, allocations: 73.95 kB / 1.167 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/1.084, allocations: 1.015 MB / 1.168 GB, free: 4.211 MB / 0.92 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.006214/1.09, allocations: 3.582 MB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.091, allocations: 0.6649 MB / 1.172 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/1.092, allocations: 378.4 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/1.092, allocations: 194.8 kB / 1.173 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.092, allocations: 43.12 kB / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/1.092, allocations: 0 / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.001966/1.094, allocations: 1.021 MB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.094, allocations: 111.4 kB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.095, allocations: 0.8058 MB / 1.175 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/1.095, allocations: 37.7 kB / 1.175 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.096, allocations: 424.1 kB / 1.175 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.096, allocations: 224.8 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.096, allocations: 61.62 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.096, allocations: 337.9 kB / 1.176 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.097, allocations: 333.8 kB / 1.176 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/1.098, allocations: 464.7 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.099, allocations: 0.7665 MB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.099, allocations: 4 kB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001683/1.1, allocations: 0.9372 MB / 1.178 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/1.101, allocations: 153.5 kB / 1.178 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.101, allocations: 7.938 kB / 1.178 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.101, allocations: 4 kB / 1.178 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/1.101, allocations: 151.7 kB / 1.179 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.101, allocations: 11.98 kB / 1.179 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/1.102, allocations: 107.2 kB / 1.179 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/1.102, allocations: 28 kB / 1.179 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/1.102, allocations: 4 kB / 1.179 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/1.104, allocations: 0.7843 MB / 1.18 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.104, allocations: 0 / 1.18 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/1.104, allocations: 8 kB / 1.18 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/1.105, allocations: 143.8 kB / 1.18 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.105, allocations: 12.28 kB / 1.18 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/1.105, allocations: 99.23 kB / 1.18 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.105, allocations: 27.98 kB / 1.18 GB, free: 7.883 MB / 0.9356 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.0006398/1.106, allocations: 376.8 kB / 1.18 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.106, allocations: 94.81 kB / 1.18 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/1.108, allocations: 0.7969 MB / 1.181 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.108, allocations: 8 kB / 1.181 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.108, allocations: 0 / 1.181 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/1.11, allocations: 0.7516 MB / 1.182 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/1.115, allocations: 2.086 MB / 1.184 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.115, allocations: 4 kB / 1.184 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/1.116, allocations: 131.8 kB / 1.184 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/1.116, allocations: 7.938 kB / 1.184 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/1.116, allocations: 16.44 kB / 1.184 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/1.116, allocations: 19.98 kB / 1.184 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/1.116, allocations: 8 kB / 1.184 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.119, allocations: 1.352 MB / 1.185 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/1.119, allocations: 259.8 kB / 1.186 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.119, allocations: 23.92 kB / 1.186 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.12, allocations: 49.45 kB / 1.186 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.121, allocations: 60.2 kB / 1.186 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.121, allocations: 23.98 kB / 1.186 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001193/1.122, allocations: 0.5576 MB / 1.186 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.1e-07/1.122, allocations: 0 / 1.186 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002621/1.125, allocations: 0.745 MB / 1.187 GB, free: 320 kB / 0.9356 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.001909/1.126, allocations: 0.5451 MB / 1.188 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003046/1.13, allocations: 1.171 MB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.13, allocations: 4 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/1.13, allocations: 370.1 kB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.134, allocations: 0.5071 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/1.137, allocations: 2.328 MB / 1.192 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/1.138, allocations: 1.07 MB / 1.193 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001608/1.14, allocations: 421.9 kB / 1.193 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/1.14, allocations: 75.44 kB / 1.193 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of SimCode: time 9.62e-07/1.14, allocations: 0 / 1.193 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of Templates: time 0.03711/1.177, allocations: 21.94 MB / 1.215 GB, free: 4.035 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches