Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_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.001934/0.001934, 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.002256/0.002256, allocations: 197.1 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.09 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5716/0.573, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1905/0.7635, allocations: 190.6 MB / 1.204 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00889/0.7724, allocations: 5.735 MB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.774, allocations: 35.81 kB / 1.209 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.7756, allocations: 0.5824 MB / 1.21 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.7799, allocations: 1.839 MB / 1.212 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.7827, allocations: 1.169 MB / 1.213 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003501/0.7862, allocations: 2.951 MB / 1.216 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.7876, allocations: 0.9538 MB / 1.216 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.7894, allocations: 1.039 MB / 1.218 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.7913, allocations: 0.9191 MB / 1.218 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/0.7916, allocations: 108 kB / 1.219 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.7951, allocations: 1.426 MB / 1.22 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008239/0.7959, allocations: 466.8 kB / 1.22 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.797, allocations: 0.6534 MB / 1.221 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.7998, allocations: 2.115 MB / 1.223 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7998, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7998, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7999, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9825 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.00221/0.8021, allocations: 1.516 MB / 1.225 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.8021, allocations: 8.031 kB / 1.225 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.8023, allocations: 139.2 kB / 1.225 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.8042, allocations: 318.3 kB / 1.225 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.8055, allocations: 0.82 MB / 1.226 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.8056, allocations: 62 kB / 1.226 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.8057, allocations: 80 kB / 1.226 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.8072, allocations: 0.917 MB / 1.227 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.8072, allocations: 0 / 1.227 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.8073, allocations: 36 kB / 1.227 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.8073, allocations: 41.98 kB / 1.227 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.8087, allocations: 0.8275 MB / 1.228 GB, free: 10.38 MB / 0.9825 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.005146/0.8138, allocations: 3.544 MB / 1.231 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/0.8146, allocations: 0.4931 MB / 1.232 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.815, allocations: 294.5 kB / 1.232 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.8152, allocations: 105.5 kB / 1.232 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8153, allocations: 39 kB / 1.232 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.8153, allocations: 0 / 1.232 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.003879/0.8192, allocations: 1.919 MB / 1.234 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.8192, allocations: 55.84 kB / 1.234 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009526/0.8202, allocations: 0.8097 MB / 1.235 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.8202, allocations: 37.7 kB / 1.235 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.8206, allocations: 479.2 kB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.8207, allocations: 169.6 kB / 1.235 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.8209, allocations: 118.1 kB / 1.236 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.821, allocations: 329.9 kB / 1.236 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.8215, allocations: 245.2 kB / 1.236 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.822, allocations: 357.2 kB / 1.236 GB, free: 0.9883 MB / 0.9825 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.003699/0.8257, allocations: 1.538 MB / 1.238 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8257, allocations: 0 / 1.238 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001255/0.8269, allocations: 0.7844 MB / 1.239 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.827, allocations: 7.984 kB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.827, allocations: 4 kB / 1.239 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.8273, allocations: 98 kB / 1.239 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.8279, allocations: 143.8 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.8308, allocations: 3.302 MB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.8317, allocations: 27.92 kB / 1.242 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.8317, allocations: 20 kB / 1.242 GB, free: 10.72 MB / 0.9981 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.0004415/0.8322, allocations: 309.5 kB / 1.243 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.8323, allocations: 86.97 kB / 1.243 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.8325, allocations: 108.7 kB / 1.243 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8325, allocations: 4 kB / 1.243 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8325, allocations: 4 kB / 1.243 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.8335, allocations: 0.8426 MB / 1.244 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.8362, allocations: 1.802 MB / 1.245 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8362, allocations: 4 kB / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.8368, allocations: 120.3 kB / 1.245 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.8371, allocations: 72.8 kB / 1.245 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.8371, allocations: 16 kB / 1.245 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.8386, allocations: 1.777 MB / 1.247 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.8387, allocations: 7.938 kB / 1.247 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.8401, allocations: 1.072 MB / 1.248 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.8405, allocations: 240 kB / 1.249 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.8406, allocations: 15.98 kB / 1.249 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/0.8413, allocations: 28.73 kB / 1.249 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.8414, allocations: 47.83 kB / 1.249 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.8415, allocations: 27.98 kB / 1.249 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006483/0.8422, allocations: 0.5615 MB / 1.249 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8422, allocations: 0 / 1.249 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008508/0.843, allocations: 280 kB / 1.249 GB, free: 2.902 MB / 0.9981 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.002072/0.8451, allocations: 1.71 MB / 1.251 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.8466, allocations: 0.8589 MB / 1.252 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.8466, allocations: 4.125 kB / 1.252 GB, free: 244 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.406/1.253, allocations: 403.5 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.256, allocations: 0.6086 MB / 1.253 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.267, allocations: 7.293 MB / 1.26 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/1.268, allocations: 1.088 MB / 1.261 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00117/1.269, allocations: 212.6 kB / 1.261 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/1.269, allocations: 342 kB / 1.262 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.269, allocations: 0 / 1.262 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/1.323, allocations: 27.81 MB / 1.289 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.82, allocations: 7.625 kB / 1.289 GB, free: 215.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches