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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007406/0.007406, allocations: 100.5 kB / 15.73 MB, free: 6.469 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.001741/0.001741, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.294/2.294, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.59 kB / 0.9504 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.851/1.134, allocations: 187.8 MB / 1.271 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01467/1.149, allocations: 10.76 MB / 1.281 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/1.15, allocations: 40.19 kB / 1.281 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/1.151, allocations: 0.4883 MB / 1.282 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007144/1.159, allocations: 2.583 MB / 1.284 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007192/1.166, allocations: 2.462 MB / 1.287 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004755/1.171, allocations: 2.769 MB / 1.29 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/1.172, allocations: 0.777 MB / 1.29 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/1.176, allocations: 1.026 MB / 1.291 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/1.179, allocations: 1.062 MB / 1.292 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005735/1.179, allocations: 97.47 kB / 1.292 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008587/1.188, allocations: 3.011 MB / 1.295 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.189, allocations: 439.1 kB / 1.296 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/1.191, allocations: 0.5812 MB / 1.296 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008478/1.2, allocations: 2.952 MB / 1.299 GB, free: 2.656 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.2, allocations: 2 kB / 1.299 GB, free: 2.656 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.766e-06/1.2, allocations: 0 / 1.299 GB, free: 2.656 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.901e-05/1.2, allocations: 0 / 1.299 GB, free: 2.656 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.005969/1.206, allocations: 1.674 MB / 1.301 GB, free: 1.766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.206, allocations: 9.594 kB / 1.301 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003766/1.206, allocations: 116.3 kB / 1.301 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/1.208, allocations: 293 kB / 1.301 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/1.21, allocations: 0.8306 MB / 1.302 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/1.211, allocations: 51.41 kB / 1.302 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.211, allocations: 65.47 kB / 1.302 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/1.213, allocations: 1.003 MB / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/1.213, allocations: 0 / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/1.213, allocations: 27.8 kB / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.213, allocations: 69.39 kB / 1.303 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/1.215, allocations: 1.012 MB / 1.304 GB, free: 1.254 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.00663/1.222, allocations: 3.579 MB / 1.308 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.223, allocations: 0.6656 MB / 1.308 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/1.223, allocations: 375.1 kB / 1.309 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/1.224, allocations: 193.4 kB / 1.309 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.224, allocations: 45.97 kB / 1.309 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=62): time 3.025e-06/1.224, allocations: 0.9062 kB / 1.309 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=62): time 0.002004/1.226, allocations: 1.022 MB / 1.31 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/1.226, allocations: 111 kB / 1.31 GB, free: 15.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.227, allocations: 0.8038 MB / 1.311 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/1.227, allocations: 44.7 kB / 1.311 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/1.227, allocations: 427.1 kB / 1.311 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.228, allocations: 216.4 kB / 1.312 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/1.228, allocations: 147.6 kB / 1.312 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.228, allocations: 337.8 kB / 1.312 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/1.229, allocations: 344.8 kB / 1.312 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/1.229, allocations: 459.5 kB / 1.313 GB, free: 14.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.23, allocations: 0.7739 MB / 1.314 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.23, allocations: 2.156 kB / 1.314 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001617/1.232, allocations: 0.9258 MB / 1.314 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.232, allocations: 5.469 kB / 1.314 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.232, allocations: 3.125 kB / 1.314 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/1.232, allocations: 9.531 kB / 1.314 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.233, allocations: 151.9 kB / 1.315 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.233, allocations: 5.312 kB / 1.315 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/1.234, allocations: 82.19 kB / 1.315 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/1.234, allocations: 31.91 kB / 1.315 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007963/1.235, allocations: 0.5381 MB / 1.315 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007312/1.235, allocations: 458.4 kB / 1.316 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/1.237, allocations: 0.7312 MB / 1.316 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/1.237, allocations: 1.625 kB / 1.316 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00198/1.239, allocations: 0.8849 MB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.239, allocations: 6.719 kB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.239, allocations: 2.781 kB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.239, allocations: 6.688 kB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/1.239, allocations: 153.4 kB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.239, allocations: 5.875 kB / 1.317 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/1.24, allocations: 68.38 kB / 1.318 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/1.24, allocations: 30.41 kB / 1.318 GB, free: 13.86 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.0002451/1.24, allocations: 214.8 kB / 1.318 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.241, allocations: 93.34 kB / 1.318 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.242, allocations: 0.8086 MB / 1.319 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.242, allocations: 13.95 kB / 1.319 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.242, allocations: 0 / 1.319 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/1.243, allocations: 0.7413 MB / 1.319 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.246, allocations: 2.087 MB / 1.321 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.246, allocations: 6.031 kB / 1.321 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/1.247, allocations: 131.1 kB / 1.322 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.247, allocations: 9.547 kB / 1.322 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/1.247, allocations: 19.77 kB / 1.322 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.247, allocations: 9.75 kB / 1.322 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.247, allocations: 9.344 kB / 1.322 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.249, allocations: 1.357 MB / 1.323 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/1.249, allocations: 258.9 kB / 1.323 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/1.25, allocations: 19.98 kB / 1.323 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/1.25, allocations: 24.25 kB / 1.323 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/1.25, allocations: 49.56 kB / 1.323 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/1.25, allocations: 22.09 kB / 1.323 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007468/1.251, allocations: 0.5534 MB / 1.324 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.202e-06/1.251, allocations: 6.656 kB / 1.324 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002376/1.254, allocations: 0.7525 MB / 1.325 GB, free: 12.27 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.003762/1.257, allocations: 2.333 MB / 1.327 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.259, allocations: 1.189 MB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.259, allocations: 2.5 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/1.26, allocations: 370.7 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.262, allocations: 0.54 MB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.274, allocations: 7.886 MB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/1.275, allocations: 1.076 MB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001304/1.277, allocations: 421 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/1.277, allocations: 329.7 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/1.277, allocations: 0 / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06114/1.338, allocations: 31.83 MB / 1.369 GB, free: 7.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.06, allocations: 6.188 kB / 1.369 GB, free: 7.582 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches