Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001276/0.001276, allocations: 110.9 kB / 16.27 MB, free: 6.414 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.001312/0.001312, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.625/2.625, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 72.3 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.829/1.178, allocations: 187.9 MB / 1.201 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01691/1.195, allocations: 10.75 MB / 1.212 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/1.197, allocations: 38.66 kB / 1.212 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/1.198, allocations: 0.4944 MB / 1.212 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/1.206, allocations: 2.576 MB / 1.215 GB, free: 12.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006494/1.212, allocations: 2.444 MB / 1.217 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004076/1.217, allocations: 2.77 MB / 1.22 GB, free: 9.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/1.218, allocations: 0.7841 MB / 1.221 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/1.22, allocations: 0.9904 MB / 1.222 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.223, allocations: 1.064 MB / 1.223 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/1.223, allocations: 96.09 kB / 1.223 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007003/1.23, allocations: 2.995 MB / 1.226 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007464/1.231, allocations: 442.8 kB / 1.226 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/1.232, allocations: 0.5793 MB / 1.227 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007922/1.24, allocations: 2.926 MB / 1.23 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.24, allocations: 8 kB / 1.23 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/1.24, allocations: 0 / 1.23 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.224e-05/1.24, allocations: 0 / 1.23 GB, free: 0.6562 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.004345/1.244, allocations: 1.671 MB / 1.231 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.244, allocations: 12.58 kB / 1.231 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/1.246, allocations: 299.2 kB / 1.232 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/1.248, allocations: 0.7765 MB / 1.232 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/1.248, allocations: 57.28 kB / 1.232 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.248, allocations: 67.92 kB / 1.233 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.25, allocations: 0.9922 MB / 1.233 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/1.25, allocations: 3.906 kB / 1.233 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/1.25, allocations: 27.98 kB / 1.234 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/1.25, allocations: 73.95 kB / 1.234 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.252, allocations: 1.011 MB / 1.235 GB, free: 11.56 MB / 0.9356 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.006567/1.258, allocations: 3.601 MB / 1.238 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.26, allocations: 0.6531 MB / 1.239 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/1.26, allocations: 384.7 kB / 1.239 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/1.26, allocations: 198.7 kB / 1.239 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.261, allocations: 39.12 kB / 1.239 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.665e-06/1.261, allocations: 0 / 1.239 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002176/1.263, allocations: 1.017 MB / 1.24 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/1.263, allocations: 115.3 kB / 1.24 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.264, allocations: 0.8058 MB / 1.241 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/1.264, allocations: 41.7 kB / 1.241 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/1.265, allocations: 420.1 kB / 1.242 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/1.265, allocations: 220.8 kB / 1.242 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/1.265, allocations: 146.6 kB / 1.242 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.265, allocations: 334 kB / 1.242 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/1.266, allocations: 340.7 kB / 1.243 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/1.267, allocations: 460.8 kB / 1.243 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.268, allocations: 0.7704 MB / 1.244 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.268, allocations: 0 / 1.244 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001727/1.27, allocations: 0.9372 MB / 1.245 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.27, allocations: 8 kB / 1.245 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.27, allocations: 0 / 1.245 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.27, allocations: 8 kB / 1.245 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/1.271, allocations: 147.8 kB / 1.245 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/1.271, allocations: 4 kB / 1.245 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/1.271, allocations: 83.48 kB / 1.245 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/1.272, allocations: 31.94 kB / 1.245 GB, free: 436 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009656/1.273, allocations: 0.5408 MB / 1.246 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006794/1.273, allocations: 458.5 kB / 1.246 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/1.274, allocations: 0.7369 MB / 1.247 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/1.274, allocations: 0 / 1.247 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001658/1.276, allocations: 0.8945 MB / 1.248 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.276, allocations: 8 kB / 1.248 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.276, allocations: 4 kB / 1.248 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/1.276, allocations: 4 kB / 1.248 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/1.277, allocations: 147.8 kB / 1.248 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.277, allocations: 8 kB / 1.248 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/1.278, allocations: 63.5 kB / 1.248 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/1.278, allocations: 24 kB / 1.248 GB, free: 13.46 MB / 0.9512 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.0002721/1.278, allocations: 220.1 kB / 1.248 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.278, allocations: 102.8 kB / 1.248 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/1.28, allocations: 0.8032 MB / 1.249 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.28, allocations: 4 kB / 1.249 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/1.28, allocations: 0 / 1.249 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.281, allocations: 0.7521 MB / 1.25 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.285, allocations: 2.09 MB / 1.252 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.285, allocations: 7.984 kB / 1.252 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/1.285, allocations: 136.4 kB / 1.252 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/1.286, allocations: 4 kB / 1.252 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/1.286, allocations: 24 kB / 1.252 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/1.286, allocations: 4 kB / 1.252 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.286, allocations: 4.875 kB / 1.252 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.288, allocations: 1.36 MB / 1.253 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/1.288, allocations: 259.8 kB / 1.253 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/1.289, allocations: 12 kB / 1.253 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/1.289, allocations: 23.98 kB / 1.253 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.289, allocations: 48.33 kB / 1.254 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/1.289, allocations: 27.98 kB / 1.254 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009224/1.29, allocations: 0.5614 MB / 1.254 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.29, allocations: 0 / 1.254 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002372/1.293, allocations: 0.7411 MB / 1.255 GB, free: 6.07 MB / 0.9512 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.001871/1.295, allocations: 0.5418 MB / 1.255 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002751/1.297, allocations: 1.315 MB / 1.257 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.297, allocations: 4 kB / 1.257 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006378/1.298, allocations: 374.1 kB / 1.257 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.301, allocations: 0.5341 MB / 1.258 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/1.305, allocations: 1.986 MB / 1.259 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/1.306, allocations: 1.073 MB / 1.261 GB, free: 164 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/1.306, allocations: 79.42 kB / 1.261 GB, free: 84 kB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/1.306, allocations: 0 / 1.261 GB, free: 84 kB / 0.9512 GB Notification: Performance of Templates: time 0.03519/1.341, allocations: 18.49 MB / 1.279 GB, free: 13.73 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches