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.005265/0.005265, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.00111/0.00111, allocations: 195.6 kB / 16.67 MB, free: 5.906 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.453/2.453, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.19 kB / 0.9508 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3242, allocations: 140.4 MB / 1.088 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.9635/1.288, allocations: 187.9 MB / 1.271 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01849/1.306, allocations: 10.76 MB / 1.282 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/1.309, allocations: 39.84 kB / 1.282 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.31, allocations: 0.505 MB / 1.282 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008603/1.319, allocations: 2.659 MB / 1.285 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007565/1.327, allocations: 2.463 MB / 1.287 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005024/1.332, allocations: 2.772 MB / 1.29 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.333, allocations: 0.7802 MB / 1.291 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/1.336, allocations: 1.024 MB / 1.292 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/1.34, allocations: 1.057 MB / 1.293 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/1.34, allocations: 98.25 kB / 1.293 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009523/1.35, allocations: 3.019 MB / 1.296 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/1.351, allocations: 440.7 kB / 1.296 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/1.353, allocations: 0.5847 MB / 1.297 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/1.364, allocations: 2.954 MB / 1.3 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.364, allocations: 0 / 1.3 GB, free: 2.934 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/1.364, allocations: 0 / 1.3 GB, free: 2.934 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.897e-05/1.364, allocations: 2.031 kB / 1.3 GB, free: 2.934 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.006334/1.371, allocations: 1.674 MB / 1.301 GB, free: 2.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.371, allocations: 10.28 kB / 1.301 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/1.373, allocations: 292.2 kB / 1.302 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/1.374, allocations: 0.8311 MB / 1.303 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/1.375, allocations: 55.03 kB / 1.303 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.375, allocations: 65.48 kB / 1.303 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.376, allocations: 0.9944 MB / 1.304 GB, free: 1.574 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.376, allocations: 5.859 kB / 1.304 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/1.377, allocations: 29.97 kB / 1.304 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.377, allocations: 75.72 kB / 1.304 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/1.378, allocations: 1.011 MB / 1.305 GB, free: 1.559 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.005975/1.384, allocations: 3.58 MB / 1.308 GB, free: 16.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.385, allocations: 0.6551 MB / 1.309 GB, free: 16.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/1.386, allocations: 376.4 kB / 1.309 GB, free: 16.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/1.386, allocations: 198.4 kB / 1.309 GB, free: 16.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.386, allocations: 42.75 kB / 1.309 GB, free: 15.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/1.386, allocations: 3.75 kB / 1.309 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=62): time 0.002084/1.388, allocations: 1.026 MB / 1.31 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/1.388, allocations: 110.6 kB / 1.311 GB, free: 15.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/1.39, allocations: 0.7995 MB / 1.311 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/1.39, allocations: 43.58 kB / 1.311 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/1.39, allocations: 427.2 kB / 1.312 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/1.39, allocations: 220.9 kB / 1.312 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.39, allocations: 140.4 kB / 1.312 GB, free: 15.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.391, allocations: 334.3 kB / 1.312 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/1.391, allocations: 344.8 kB / 1.313 GB, free: 14.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/1.392, allocations: 466.3 kB / 1.313 GB, free: 14.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.393, allocations: 0.7654 MB / 1.314 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.393, allocations: 1.594 kB / 1.314 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001544/1.394, allocations: 0.9282 MB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.394, allocations: 9.25 kB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.394, allocations: 3.25 kB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.394, allocations: 9.312 kB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/1.395, allocations: 150.6 kB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.395, allocations: 6.156 kB / 1.315 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/1.396, allocations: 86.88 kB / 1.315 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/1.396, allocations: 27.56 kB / 1.315 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009694/1.397, allocations: 0.5393 MB / 1.316 GB, free: 14.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007257/1.398, allocations: 450 kB / 1.316 GB, free: 14.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/1.399, allocations: 0.7378 MB / 1.317 GB, free: 14.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/1.399, allocations: 0.7812 kB / 1.317 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001454/1.4, allocations: 0.8804 MB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.4, allocations: 7.094 kB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.4, allocations: 3.406 kB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/1.4, allocations: 6.031 kB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/1.401, allocations: 150.2 kB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.401, allocations: 12.62 kB / 1.318 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/1.402, allocations: 67.88 kB / 1.318 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/1.402, allocations: 30.14 kB / 1.318 GB, free: 14.17 MB / 1.029 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.000285/1.402, allocations: 218.2 kB / 1.318 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.403, allocations: 92.19 kB / 1.318 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.404, allocations: 0.8146 MB / 1.319 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.404, allocations: 10.25 kB / 1.319 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.404, allocations: 0 / 1.319 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/1.405, allocations: 0.7414 MB / 1.32 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.408, allocations: 2.088 MB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.408, allocations: 8.5 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/1.409, allocations: 129.8 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.409, allocations: 8.781 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/1.409, allocations: 16.38 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.409, allocations: 6.031 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/1.409, allocations: 15.33 kB / 1.322 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.411, allocations: 1.356 MB / 1.323 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/1.411, allocations: 258.5 kB / 1.324 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.411, allocations: 18.34 kB / 1.324 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/1.412, allocations: 20.09 kB / 1.324 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.412, allocations: 55.08 kB / 1.324 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/1.412, allocations: 26.91 kB / 1.324 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007456/1.413, allocations: 0.5535 MB / 1.324 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.413, allocations: 0.8125 kB / 1.324 GB, free: 12.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002551/1.415, allocations: 0.7465 MB / 1.325 GB, free: 12.58 MB / 1.029 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.00155/1.417, allocations: 0.5387 MB / 1.326 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.419, allocations: 1.192 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.419, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/1.419, allocations: 374.4 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.422, allocations: 0.5448 MB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.425, allocations: 1.906 MB / 1.329 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/1.426, allocations: 1.078 MB / 1.33 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00125/1.427, allocations: 412.7 kB / 1.331 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.428, allocations: 74.89 kB / 1.331 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/1.428, allocations: 4 kB / 1.331 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Templates: time 0.04119/1.469, allocations: 22.99 MB / 1.353 GB, free: 3.609 MB / 1.029 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