Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001691/0.001691, allocations: 108 kB / 15.6 MB, free: 132 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.001345/0.001345, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.35/2.35, allocations: 390.2 MB / 0.6647 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5921, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1905/0.7827, allocations: 181.9 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008329/0.7911, allocations: 5.367 MB / 1.133 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.7923, allocations: 35.81 kB / 1.133 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7937, allocations: 441.4 kB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.7982, allocations: 1.68 MB / 1.135 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.8002, allocations: 0.7923 MB / 1.135 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.8029, allocations: 2.185 MB / 1.138 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008502/0.8037, allocations: 0.6851 MB / 1.138 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.8048, allocations: 0.7355 MB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.8062, allocations: 0.6862 MB / 1.14 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.8063, allocations: 76 kB / 1.14 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.8089, allocations: 1.395 MB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.8092, allocations: 323.1 kB / 1.141 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.8097, allocations: 465.9 kB / 1.142 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.8118, allocations: 1.64 MB / 1.143 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8118, allocations: 4 kB / 1.143 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8118, allocations: 3.938 kB / 1.143 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8118, allocations: 0 / 1.143 GB, free: 10.73 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001818/0.8137, allocations: 1.172 MB / 1.145 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8137, allocations: 12.03 kB / 1.145 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.8138, allocations: 106.5 kB / 1.145 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.8156, allocations: 270.8 kB / 1.145 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.8166, allocations: 0.6748 MB / 1.146 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.8167, allocations: 45.31 kB / 1.146 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.8168, allocations: 63.98 kB / 1.146 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.8177, allocations: 0.5804 MB / 1.146 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.8177, allocations: 0 / 1.146 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.8178, allocations: 24 kB / 1.146 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.8179, allocations: 25.31 kB / 1.146 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.8187, allocations: 0.5009 MB / 1.147 GB, free: 7.156 MB / 0.9044 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.002973/0.8217, allocations: 2.404 MB / 1.149 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.8225, allocations: 427.4 kB / 1.15 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.8228, allocations: 221.5 kB / 1.15 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.823, allocations: 97.09 kB / 1.15 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.823, allocations: 38.52 kB / 1.15 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.823, allocations: 4 kB / 1.15 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002864/0.8259, allocations: 1.448 MB / 1.151 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.826, allocations: 63.84 kB / 1.151 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.8266, allocations: 0.5382 MB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.8266, allocations: 37.7 kB / 1.152 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.8269, allocations: 328.6 kB / 1.152 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.827, allocations: 169.6 kB / 1.152 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.8272, allocations: 86.17 kB / 1.153 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8274, allocations: 374.7 kB / 1.153 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.8276, allocations: 173 kB / 1.153 GB, free: 476 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.828, allocations: 260.8 kB / 1.153 GB, free: 188 kB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.8314, allocations: 1.453 MB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8314, allocations: 0 / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000828/0.8322, allocations: 0.5305 MB / 1.155 GB, free: 14.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8323, allocations: 4 kB / 1.155 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8323, allocations: 4 kB / 1.155 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8323, allocations: 4 kB / 1.155 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.8327, allocations: 95.89 kB / 1.155 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.8328, allocations: 0 / 1.155 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.8334, allocations: 19.94 kB / 1.155 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.8334, allocations: 16 kB / 1.155 GB, free: 14 MB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003165/0.8338, allocations: 255.9 kB / 1.156 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8339, allocations: 71.16 kB / 1.156 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.834, allocations: 78.45 kB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.834, allocations: 8 kB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8341, allocations: 3.938 kB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006889/0.8348, allocations: 0.5144 MB / 1.156 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.837, allocations: 1.585 MB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8371, allocations: 4 kB / 1.158 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8376, allocations: 112.5 kB / 1.158 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.8376, allocations: 12 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.8377, allocations: 16 kB / 1.158 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.8377, allocations: 11.94 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.8377, allocations: 11.94 kB / 1.158 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.8389, allocations: 0.8945 MB / 1.159 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.8391, allocations: 200.3 kB / 1.159 GB, free: 9.984 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.8393, allocations: 16 kB / 1.159 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.8398, allocations: 27.98 kB / 1.159 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.8399, allocations: 39.78 kB / 1.159 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.84, allocations: 27.98 kB / 1.159 GB, free: 9.875 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004284/0.8404, allocations: 402.8 kB / 1.16 GB, free: 9.484 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8404, allocations: 0 / 1.16 GB, free: 9.484 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006678/0.8411, allocations: 200 kB / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.001777/0.8429, allocations: 1.51 MB / 1.161 GB, free: 7.695 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008534/0.8437, allocations: 485.2 kB / 1.162 GB, free: 7.227 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8437, allocations: 0 / 1.162 GB, free: 7.227 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.8441, allocations: 233 kB / 1.162 GB, free: 7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8464, allocations: 0.4933 MB / 1.162 GB, free: 6.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.8536, allocations: 5.63 MB / 1.168 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.8542, allocations: 0.9772 MB / 1.169 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006841/0.8549, allocations: 165.8 kB / 1.169 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.8553, allocations: 251.4 kB / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of SimCode: time 7.71e-07/0.8553, allocations: 0 / 1.169 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04524/0.9005, allocations: 20.26 MB / 1.189 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.754, allocations: 4 kB / 1.189 GB, free: 11.34 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches