Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_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.009711/0.009712, allocations: 99.47 kB / 15.73 MB, free: 6.023 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.0019/0.0019, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.09 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.9748/1.306, allocations: 187.9 MB / 1.391 GB, free: 1.434 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01707/1.323, allocations: 10.74 MB / 1.401 GB, free: 8.754 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.325, allocations: 39.53 kB / 1.401 GB, free: 8.738 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/1.327, allocations: 0.4976 MB / 1.402 GB, free: 8.316 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007298/1.334, allocations: 2.576 MB / 1.404 GB, free: 6.391 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006501/1.34, allocations: 2.473 MB / 1.407 GB, free: 4.715 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004169/1.345, allocations: 2.769 MB / 1.409 GB, free: 3.145 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.346, allocations: 0.7778 MB / 1.41 GB, free: 2.641 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/1.348, allocations: 1.015 MB / 1.411 GB, free: 2.062 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/1.35, allocations: 1.065 MB / 1.412 GB, free: 1.445 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/1.351, allocations: 96.88 kB / 1.412 GB, free: 1.445 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006441/1.357, allocations: 3.003 MB / 1.415 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007905/1.358, allocations: 441.2 kB / 1.416 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.359, allocations: 0.5827 MB / 1.416 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0067/1.366, allocations: 2.954 MB / 1.419 GB, free: 13.26 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.366, allocations: 0 / 1.419 GB, free: 13.26 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.522e-06/1.366, allocations: 0 / 1.419 GB, free: 13.26 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.353e-05/1.366, allocations: 0 / 1.419 GB, free: 13.26 MB / 1.107 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.00502/1.371, allocations: 1.666 MB / 1.421 GB, free: 12.01 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.371, allocations: 10.78 kB / 1.421 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/1.371, allocations: 124 kB / 1.421 GB, free: 11.9 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.373, allocations: 297 kB / 1.421 GB, free: 11.76 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.375, allocations: 0.8252 MB / 1.422 GB, free: 11.12 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/1.375, allocations: 53.7 kB / 1.422 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.376, allocations: 66.05 kB / 1.422 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/1.377, allocations: 0.9999 MB / 1.423 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.377, allocations: 0 / 1.423 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.378, allocations: 31.97 kB / 1.423 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/1.378, allocations: 73.94 kB / 1.423 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.38, allocations: 1.011 MB / 1.424 GB, free: 9.051 MB / 1.107 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.006848/1.386, allocations: 3.566 MB / 1.428 GB, free: 5.254 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.388, allocations: 0.6621 MB / 1.428 GB, free: 4.582 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/1.388, allocations: 374.4 kB / 1.429 GB, free: 4.215 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/1.389, allocations: 206.7 kB / 1.429 GB, free: 3.977 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.389, allocations: 39.12 kB / 1.429 GB, free: 3.93 MB / 1.107 GB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/1.389, allocations: 0 / 1.429 GB, free: 3.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=62): time 0.002461/1.391, allocations: 1.029 MB / 1.43 GB, free: 2.898 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.391, allocations: 107.4 kB / 1.43 GB, free: 2.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/1.392, allocations: 0.798 MB / 1.431 GB, free: 1.961 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/1.392, allocations: 37.7 kB / 1.431 GB, free: 1.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/1.393, allocations: 436 kB / 1.431 GB, free: 1.484 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.393, allocations: 220.8 kB / 1.431 GB, free: 1.266 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/1.393, allocations: 138.6 kB / 1.432 GB, free: 1.125 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.394, allocations: 334 kB / 1.432 GB, free: 0.793 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/1.394, allocations: 348.6 kB / 1.432 GB, free: 460 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/1.395, allocations: 460.7 kB / 1.433 GB, free: 15.96 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.396, allocations: 0.7704 MB / 1.433 GB, free: 15.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.396, allocations: 0 / 1.433 GB, free: 15.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001628/1.398, allocations: 0.9334 MB / 1.434 GB, free: 14.22 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.398, allocations: 4 kB / 1.434 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.398, allocations: 4 kB / 1.434 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.398, allocations: 7.938 kB / 1.434 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/1.398, allocations: 144.1 kB / 1.434 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.398, allocations: 13.88 kB / 1.434 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/1.399, allocations: 83.09 kB / 1.435 GB, free: 13.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/1.399, allocations: 32 kB / 1.435 GB, free: 13.94 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008818/1.4, allocations: 0.537 MB / 1.435 GB, free: 13.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006984/1.401, allocations: 455.4 kB / 1.435 GB, free: 12.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/1.402, allocations: 0.7331 MB / 1.436 GB, free: 12.14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/1.402, allocations: 3.938 kB / 1.436 GB, free: 12.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001482/1.404, allocations: 0.8943 MB / 1.437 GB, free: 11.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.404, allocations: 8 kB / 1.437 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.404, allocations: 0 / 1.437 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/1.404, allocations: 8 kB / 1.437 GB, free: 11.22 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/1.404, allocations: 151.7 kB / 1.437 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.404, allocations: 4 kB / 1.437 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/1.405, allocations: 59.52 kB / 1.437 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/1.405, allocations: 27.98 kB / 1.437 GB, free: 10.98 MB / 1.123 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.000306/1.406, allocations: 228.3 kB / 1.438 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/1.406, allocations: 94.81 kB / 1.438 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/1.407, allocations: 0.7982 MB / 1.438 GB, free: 9.855 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.407, allocations: 8 kB / 1.438 GB, free: 9.848 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.407, allocations: 7.047 kB / 1.438 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/1.408, allocations: 0.74 MB / 1.439 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/1.412, allocations: 2.093 MB / 1.441 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.412, allocations: 7.938 kB / 1.441 GB, free: 6.871 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/1.413, allocations: 127.8 kB / 1.441 GB, free: 6.746 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/1.413, allocations: 8 kB / 1.441 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/1.413, allocations: 23.98 kB / 1.441 GB, free: 6.715 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/1.413, allocations: 7.938 kB / 1.441 GB, free: 6.707 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.413, allocations: 4.406 kB / 1.441 GB, free: 6.703 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.415, allocations: 1.36 MB / 1.443 GB, free: 5.281 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/1.415, allocations: 259.8 kB / 1.443 GB, free: 5.008 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.415, allocations: 19.98 kB / 1.443 GB, free: 4.988 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/1.416, allocations: 23.98 kB / 1.443 GB, free: 4.965 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/1.416, allocations: 52.27 kB / 1.443 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/1.416, allocations: 20 kB / 1.443 GB, free: 4.895 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007539/1.417, allocations: 0.5576 MB / 1.444 GB, free: 4.34 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.417, allocations: 0 / 1.444 GB, free: 4.34 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001929/1.419, allocations: 0.745 MB / 1.444 GB, free: 3.594 MB / 1.123 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.003712/1.422, allocations: 2.347 MB / 1.447 GB, free: 1.191 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002193/1.425, allocations: 1.19 MB / 1.448 GB, free: 0 / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.627e-05/1.425, allocations: 0 / 1.448 GB, free: 0 / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/1.425, allocations: 370.2 kB / 1.448 GB, free: 15.63 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.428, allocations: 0.5403 MB / 1.449 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.441, allocations: 7.882 MB / 1.456 GB, free: 6.969 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/1.441, allocations: 1.077 MB / 1.457 GB, free: 5.859 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001322/1.443, allocations: 414.2 kB / 1.458 GB, free: 5.453 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.443, allocations: 335.3 kB / 1.458 GB, free: 5.125 MB / 1.139 GB Notification: Performance of SimCode: time 1.272e-06/1.443, allocations: 0 / 1.458 GB, free: 5.125 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/1.516, allocations: 31.84 MB / 1.489 GB, free: 5.629 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.81, allocations: 11.42 kB / 1.489 GB, free: 5.621 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches