Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.005341/0.005341, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001137/0.001137, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.182/3.182, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 59.91 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 1.101/1.45, allocations: 190.6 MB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01169/1.461, allocations: 5.735 MB / 1.399 GB, free: 10.6 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/1.464, allocations: 41.91 kB / 1.399 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/1.466, allocations: 0.5814 MB / 1.4 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/1.471, allocations: 1.834 MB / 1.401 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/1.475, allocations: 1.196 MB / 1.403 GB, free: 7.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004952/1.48, allocations: 2.949 MB / 1.405 GB, free: 6.055 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.482, allocations: 0.9519 MB / 1.406 GB, free: 5.465 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/1.485, allocations: 1.071 MB / 1.407 GB, free: 4.84 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/1.488, allocations: 0.9149 MB / 1.408 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004039/1.488, allocations: 110 kB / 1.408 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/1.492, allocations: 1.431 MB / 1.41 GB, free: 3.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007637/1.492, allocations: 460.7 kB / 1.41 GB, free: 3.234 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002215/1.495, allocations: 0.6571 MB / 1.411 GB, free: 2.816 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005368/1.5, allocations: 2.135 MB / 1.413 GB, free: 1.434 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.5, allocations: 0 / 1.413 GB, free: 1.434 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.585e-06/1.5, allocations: 0 / 1.413 GB, free: 1.434 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.435e-05/1.5, allocations: 0 / 1.413 GB, free: 1.434 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003893/1.504, allocations: 1.516 MB / 1.414 GB, free: 304 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.504, allocations: 14.88 kB / 1.415 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003295/1.504, allocations: 135.5 kB / 1.415 GB, free: 188 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/1.507, allocations: 310.7 kB / 1.415 GB, free: 48 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/1.509, allocations: 0.8587 MB / 1.416 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/1.509, allocations: 59.25 kB / 1.416 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/1.509, allocations: 87.98 kB / 1.416 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.511, allocations: 0.9074 MB / 1.417 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.511, allocations: 2.906 kB / 1.417 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/1.511, allocations: 35.09 kB / 1.417 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/1.511, allocations: 38.14 kB / 1.417 GB, free: 14.78 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/1.512, allocations: 0.8328 MB / 1.418 GB, free: 14.37 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.005971/1.518, allocations: 3.502 MB / 1.421 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/1.519, allocations: 0.5042 MB / 1.422 GB, free: 11.32 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/1.52, allocations: 291.6 kB / 1.422 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/1.52, allocations: 102.9 kB / 1.422 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.52, allocations: 41.77 kB / 1.422 GB, free: 11.03 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 2.494e-06/1.52, allocations: 0 / 1.422 GB, free: 11.03 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.004271/1.524, allocations: 1.919 MB / 1.424 GB, free: 9.023 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.524, allocations: 55.84 kB / 1.424 GB, free: 8.957 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.525, allocations: 0.8096 MB / 1.425 GB, free: 8.141 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/1.525, allocations: 37.7 kB / 1.425 GB, free: 8.098 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/1.526, allocations: 479.4 kB / 1.425 GB, free: 7.621 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.526, allocations: 173.5 kB / 1.425 GB, free: 7.449 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/1.526, allocations: 110.2 kB / 1.425 GB, free: 7.336 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.526, allocations: 333.9 kB / 1.426 GB, free: 7.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/1.527, allocations: 241.2 kB / 1.426 GB, free: 6.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/1.527, allocations: 359.1 kB / 1.426 GB, free: 6.383 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/1.531, allocations: 1.53 MB / 1.428 GB, free: 4.797 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.531, allocations: 4 kB / 1.428 GB, free: 4.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001424/1.533, allocations: 0.7806 MB / 1.429 GB, free: 4 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.533, allocations: 8 kB / 1.429 GB, free: 3.992 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.533, allocations: 0 / 1.429 GB, free: 3.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/1.533, allocations: 98 kB / 1.429 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/1.534, allocations: 143.8 kB / 1.429 GB, free: 3.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/1.537, allocations: 3.303 MB / 1.432 GB, free: 176 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/1.538, allocations: 35.77 kB / 1.432 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/1.538, allocations: 20 kB / 1.432 GB, free: 120 kB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005336/1.538, allocations: 305.7 kB / 1.432 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.538, allocations: 90.97 kB / 1.433 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/1.539, allocations: 100.7 kB / 1.433 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.539, allocations: 4 kB / 1.433 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.539, allocations: 0 / 1.433 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/1.54, allocations: 0.8465 MB / 1.433 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.543, allocations: 1.794 MB / 1.435 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.543, allocations: 4 kB / 1.435 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/1.544, allocations: 132.2 kB / 1.435 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/1.544, allocations: 64.81 kB / 1.435 GB, free: 12.58 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.544, allocations: 12 kB / 1.435 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/1.545, allocations: 1.785 MB / 1.437 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.545, allocations: 7.938 kB / 1.437 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/1.547, allocations: 1.065 MB / 1.438 GB, free: 9.516 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/1.548, allocations: 235.9 kB / 1.438 GB, free: 9.266 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.548, allocations: 20.06 kB / 1.438 GB, free: 9.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/1.549, allocations: 30.03 kB / 1.438 GB, free: 9.219 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.549, allocations: 43.83 kB / 1.439 GB, free: 9.176 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/1.549, allocations: 31.98 kB / 1.439 GB, free: 9.145 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007658/1.55, allocations: 0.5576 MB / 1.439 GB, free: 8.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.55, allocations: 4 kB / 1.439 GB, free: 8.586 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001045/1.551, allocations: 284 kB / 1.439 GB, free: 8.309 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/1.553, allocations: 1.697 MB / 1.441 GB, free: 6.551 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.554, allocations: 0.8045 MB / 1.442 GB, free: 5.719 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.554, allocations: 4 kB / 1.442 GB, free: 5.715 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/1.555, allocations: 418.3 kB / 1.442 GB, free: 5.293 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.558, allocations: 0.6198 MB / 1.443 GB, free: 4.688 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.568, allocations: 6.952 MB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/1.569, allocations: 1.087 MB / 1.451 GB, free: 12.33 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008316/1.57, allocations: 215.7 kB / 1.451 GB, free: 12.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/1.57, allocations: 343.3 kB / 1.451 GB, free: 11.78 MB / 1.139 GB Notification: Performance of SimCode: time 2.896e-06/1.57, allocations: 0 / 1.451 GB, free: 11.78 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/1.628, allocations: 28.51 MB / 1.479 GB, free: 15.73 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.73, allocations: 11.88 kB / 1.479 GB, free: 15.72 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches