Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_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.001722/0.001722, 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.002064/0.002064, allocations: 193.7 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.397/2.397, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.655, allocations: 140.4 MB / 0.9497 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1972/0.8523, allocations: 190.6 MB / 1.136 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.8624, allocations: 5.742 MB / 1.141 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.8643, allocations: 43.75 kB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.8662, allocations: 0.5786 MB / 1.142 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.871, allocations: 1.835 MB / 1.144 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.8741, allocations: 1.181 MB / 1.145 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.8781, allocations: 2.947 MB / 1.148 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.8797, allocations: 0.9537 MB / 1.149 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.8817, allocations: 1.051 MB / 1.15 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.8838, allocations: 0.9072 MB / 1.151 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.8841, allocations: 112 kB / 1.151 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.8871, allocations: 1.426 MB / 1.152 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.8877, allocations: 454.8 kB / 1.153 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.8888, allocations: 0.6573 MB / 1.153 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.892, allocations: 2.111 MB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.892, allocations: 4 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.892, allocations: 4 kB / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.789e-05/0.8921, allocations: 0 / 1.155 GB, free: 14.52 MB / 0.92 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.002844/0.8949, allocations: 1.511 MB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.895, allocations: 11.97 kB / 1.157 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.8952, allocations: 139.2 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.8973, allocations: 318.2 kB / 1.157 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.8987, allocations: 0.8085 MB / 1.158 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.8987, allocations: 66 kB / 1.158 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.8989, allocations: 91.89 kB / 1.158 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.9005, allocations: 0.9208 MB / 1.159 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.9006, allocations: 0 / 1.159 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.9007, allocations: 40 kB / 1.159 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.9007, allocations: 30 kB / 1.159 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.9021, allocations: 0.8314 MB / 1.16 GB, free: 9.656 MB / 0.92 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.005433/0.9076, allocations: 3.537 MB / 1.163 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.9084, allocations: 0.5003 MB / 1.164 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.9089, allocations: 294.5 kB / 1.164 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.9091, allocations: 105.5 kB / 1.164 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.9091, allocations: 46.94 kB / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.9091, allocations: 0 / 1.164 GB, free: 4.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004072/0.9132, allocations: 1.915 MB / 1.166 GB, free: 2.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.9133, allocations: 55.84 kB / 1.166 GB, free: 2.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.9142, allocations: 0.8019 MB / 1.167 GB, free: 2.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.9143, allocations: 37.7 kB / 1.167 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.9147, allocations: 475.4 kB / 1.168 GB, free: 1.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.9148, allocations: 177.5 kB / 1.168 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.915, allocations: 114.2 kB / 1.168 GB, free: 1.223 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9151, allocations: 333.9 kB / 1.168 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.9156, allocations: 241.2 kB / 1.168 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.9161, allocations: 357.2 kB / 1.169 GB, free: 276 kB / 0.92 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.003713/0.9198, allocations: 1.531 MB / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.9198, allocations: 0 / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001329/0.9212, allocations: 0.7962 MB / 1.171 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9212, allocations: 4 kB / 1.171 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.9212, allocations: 4 kB / 1.171 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.9215, allocations: 101.9 kB / 1.171 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.9222, allocations: 139.8 kB / 1.171 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.9253, allocations: 3.301 MB / 1.174 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.9261, allocations: 31.92 kB / 1.175 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.9262, allocations: 20 kB / 1.175 GB, free: 9.992 MB / 0.9356 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.0004163/0.9266, allocations: 301.6 kB / 1.175 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.9268, allocations: 90.97 kB / 1.175 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.927, allocations: 96.72 kB / 1.175 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.927, allocations: 8 kB / 1.175 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.927, allocations: 4 kB / 1.175 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009893/0.928, allocations: 0.8427 MB / 1.176 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.9308, allocations: 1.794 MB / 1.178 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9308, allocations: 4 kB / 1.178 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.9314, allocations: 123.8 kB / 1.178 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.9316, allocations: 73 kB / 1.178 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.9317, allocations: 11.98 kB / 1.178 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.9333, allocations: 1.789 MB / 1.18 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9333, allocations: 4 kB / 1.18 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.9349, allocations: 1.065 MB / 1.181 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.9352, allocations: 235.9 kB / 1.181 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9354, allocations: 19.94 kB / 1.181 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/0.9361, allocations: 32.59 kB / 1.181 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9362, allocations: 43.83 kB / 1.181 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.9363, allocations: 31.98 kB / 1.181 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006674/0.937, allocations: 0.5576 MB / 1.181 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.937, allocations: 0 / 1.181 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008379/0.9378, allocations: 288 kB / 1.182 GB, free: 2.188 MB / 0.9356 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.002128/0.9399, allocations: 1.719 MB / 1.183 GB, free: 420 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.9414, allocations: 0.851 MB / 1.184 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9414, allocations: 0 / 1.184 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.942, allocations: 423.7 kB / 1.185 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.9447, allocations: 0.6059 MB / 1.185 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/0.9546, allocations: 7.29 MB / 1.192 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.9553, allocations: 1.091 MB / 1.193 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008432/0.9561, allocations: 207.7 kB / 1.194 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.9566, allocations: 347.3 kB / 1.194 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.9566, allocations: 0 / 1.194 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/1.012, allocations: 27.81 MB / 1.221 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.56, allocations: 3.094 kB / 1.221 GB, free: 9.902 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches