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.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 70.39 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2468, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6468/0.8936, allocations: 190.6 MB / 1.25 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008179/0.9018, allocations: 5.734 MB / 1.255 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.9029, allocations: 39.88 kB / 1.255 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.9042, allocations: 0.5788 MB / 1.256 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.9079, allocations: 1.843 MB / 1.258 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.9107, allocations: 1.174 MB / 1.259 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003177/0.9139, allocations: 2.943 MB / 1.262 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.9152, allocations: 0.9556 MB / 1.263 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.9169, allocations: 1.045 MB / 1.264 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.9186, allocations: 0.9221 MB / 1.265 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.9188, allocations: 110.4 kB / 1.265 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.9215, allocations: 1.421 MB / 1.266 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.922, allocations: 465.7 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.9228, allocations: 0.6566 MB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.9255, allocations: 2.117 MB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9255, allocations: 1.094 kB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9255, allocations: 1.094 kB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.9255, allocations: 0 / 1.269 GB, free: 4.301 MB / 0.9981 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.00253/0.928, allocations: 1.52 MB / 1.271 GB, free: 19.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9281, allocations: 11.27 kB / 1.271 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.9283, allocations: 136.8 kB / 1.271 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.9303, allocations: 316 kB / 1.271 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.9315, allocations: 0.8164 MB / 1.272 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.9315, allocations: 62.27 kB / 1.272 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9317, allocations: 84.45 kB / 1.272 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.9332, allocations: 0.9173 MB / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.9333, allocations: 0 / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.9334, allocations: 37.84 kB / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.9334, allocations: 32.44 kB / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.9348, allocations: 0.8266 MB / 1.274 GB, free: 19.04 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.005353/0.9402, allocations: 3.554 MB / 1.277 GB, free: 17.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.9409, allocations: 0.4894 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.9413, allocations: 298.3 kB / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.9415, allocations: 103 kB / 1.278 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9415, allocations: 40.77 kB / 1.278 GB, free: 17.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.9415, allocations: 0 / 1.278 GB, free: 17.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.003605/0.9452, allocations: 1.92 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9452, allocations: 57.34 kB / 1.28 GB, free: 16.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.9461, allocations: 0.8098 MB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.9462, allocations: 37.48 kB / 1.281 GB, free: 16.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.9465, allocations: 477.1 kB / 1.282 GB, free: 16.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.9466, allocations: 171.7 kB / 1.282 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.9468, allocations: 114.8 kB / 1.282 GB, free: 16.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9469, allocations: 331.2 kB / 1.282 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.9473, allocations: 241.2 kB / 1.282 GB, free: 16.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.9478, allocations: 357.3 kB / 1.283 GB, free: 15.92 MB / 1.014 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.003404/0.9512, allocations: 1.535 MB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9512, allocations: 2.781 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001184/0.9524, allocations: 0.7809 MB / 1.285 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.9524, allocations: 9.5 kB / 1.285 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9524, allocations: 3.594 kB / 1.285 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.9527, allocations: 105.8 kB / 1.285 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.9533, allocations: 142.5 kB / 1.285 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.9559, allocations: 3.305 MB / 1.288 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.9568, allocations: 25.98 kB / 1.288 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.9568, allocations: 20.59 kB / 1.288 GB, free: 12.89 MB / 1.014 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.0004108/0.9572, allocations: 304.9 kB / 1.289 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.9574, allocations: 91.53 kB / 1.289 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.9576, allocations: 100.1 kB / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9576, allocations: 10.47 kB / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.9576, allocations: 1.203 kB / 1.289 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.9586, allocations: 0.8404 MB / 1.29 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.9611, allocations: 1.804 MB / 1.292 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9611, allocations: 3.562 kB / 1.292 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.9617, allocations: 130.6 kB / 1.292 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.9619, allocations: 69.64 kB / 1.292 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.962, allocations: 10.84 kB / 1.292 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.9634, allocations: 1.79 MB / 1.293 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9635, allocations: 9.031 kB / 1.294 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.9649, allocations: 1.072 MB / 1.295 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.9652, allocations: 234.8 kB / 1.295 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.9653, allocations: 16.12 kB / 1.295 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.966, allocations: 38.14 kB / 1.295 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.9661, allocations: 45.52 kB / 1.295 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.9662, allocations: 33.47 kB / 1.295 GB, free: 10.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006301/0.9668, allocations: 0.5556 MB / 1.295 GB, free: 9.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.183e-06/0.9668, allocations: 1.031 kB / 1.295 GB, free: 9.914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008439/0.9677, allocations: 281.9 kB / 1.296 GB, free: 9.914 MB / 1.014 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.00193/0.9696, allocations: 1.713 MB / 1.297 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.9709, allocations: 0.861 MB / 1.298 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.9709, allocations: 3.125 kB / 1.298 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.9714, allocations: 409.9 kB / 1.299 GB, free: 8.719 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.974, allocations: 0.6081 MB / 1.299 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/0.9827, allocations: 7.283 MB / 1.306 GB, free: 5.902 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.9833, allocations: 1.085 MB / 1.307 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.9843, allocations: 216.9 kB / 1.308 GB, free: 5.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.9846, allocations: 342.3 kB / 1.308 GB, free: 5.125 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.9846, allocations: 5.719 kB / 1.308 GB, free: 5.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/1.035, allocations: 27.79 MB / 1.335 GB, free: 14.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.39, allocations: 13.2 kB / 1.335 GB, free: 14.5 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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