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.005004/0.005004, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.001239/0.001239, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.569/2.569, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2491, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6988/0.9479, allocations: 190.6 MB / 1.352 GB, free: 2.684 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008707/0.9567, allocations: 5.728 MB / 1.358 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.9576, allocations: 42.22 kB / 1.358 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.959, allocations: 0.5991 MB / 1.359 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.963, allocations: 1.918 MB / 1.36 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.9657, allocations: 1.199 MB / 1.362 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.969, allocations: 2.953 MB / 1.364 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9702, allocations: 0.9511 MB / 1.365 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.9718, allocations: 1.098 MB / 1.366 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.9733, allocations: 0.9109 MB / 1.367 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.9735, allocations: 107.4 kB / 1.367 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.9762, allocations: 1.442 MB / 1.369 GB, free: 9.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.9766, allocations: 461 kB / 1.369 GB, free: 8.832 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007035/0.9773, allocations: 0.6489 MB / 1.37 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.98, allocations: 2.143 MB / 1.372 GB, free: 7.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.98, allocations: 0 / 1.372 GB, free: 7.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.035e-06/0.98, allocations: 0 / 1.372 GB, free: 7.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.98, allocations: 3.938 kB / 1.372 GB, free: 7.027 MB / 1.045 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.002352/0.9824, allocations: 1.55 MB / 1.374 GB, free: 5.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9824, allocations: 10.69 kB / 1.374 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.9826, allocations: 134.5 kB / 1.374 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.9846, allocations: 328.1 kB / 1.374 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.986, allocations: 0.854 MB / 1.375 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.986, allocations: 64.25 kB / 1.375 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.9862, allocations: 84.69 kB / 1.375 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.9877, allocations: 0.9126 MB / 1.376 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.9877, allocations: 0 / 1.376 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.9878, allocations: 41.66 kB / 1.376 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.9878, allocations: 36.27 kB / 1.376 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.9892, allocations: 0.8203 MB / 1.377 GB, free: 3.922 MB / 1.045 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.004912/0.9941, allocations: 3.521 MB / 1.38 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.9948, allocations: 0.4957 MB / 1.381 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.9953, allocations: 298.8 kB / 1.381 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.9954, allocations: 99.72 kB / 1.381 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.9955, allocations: 41.56 kB / 1.381 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.9955, allocations: 0 / 1.381 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.003614/0.9991, allocations: 1.941 MB / 1.383 GB, free: 15.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.9992, allocations: 69.17 kB / 1.383 GB, free: 15.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/1, allocations: 0.7982 MB / 1.384 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/1, allocations: 40.39 kB / 1.384 GB, free: 14.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/1, allocations: 481.9 kB / 1.384 GB, free: 14.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/1.001, allocations: 180.8 kB / 1.385 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/1.001, allocations: 114.4 kB / 1.385 GB, free: 14.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.001, allocations: 330.9 kB / 1.385 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/1.001, allocations: 237.5 kB / 1.385 GB, free: 13.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/1.002, allocations: 363.2 kB / 1.386 GB, free: 13.39 MB / 1.061 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.003555/1.005, allocations: 1.532 MB / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.005, allocations: 0 / 1.387 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001205/1.007, allocations: 0.7951 MB / 1.388 GB, free: 12.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.007, allocations: 4.875 kB / 1.388 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.007, allocations: 6.188 kB / 1.388 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/1.007, allocations: 102.6 kB / 1.388 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/1.007, allocations: 144.2 kB / 1.388 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/1.01, allocations: 3.298 MB / 1.391 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007351/1.011, allocations: 31.64 kB / 1.391 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/1.011, allocations: 25.42 kB / 1.391 GB, free: 8.785 MB / 1.061 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.0003643/1.011, allocations: 304.8 kB / 1.392 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.012, allocations: 92 kB / 1.392 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.012, allocations: 97.17 kB / 1.392 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.012, allocations: 12.73 kB / 1.392 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.012, allocations: 192 / 1.392 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009712/1.013, allocations: 0.8512 MB / 1.393 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/1.015, allocations: 1.793 MB / 1.394 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.015, allocations: 2.719 kB / 1.394 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/1.016, allocations: 132 kB / 1.394 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/1.016, allocations: 68.06 kB / 1.395 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/1.016, allocations: 11.38 kB / 1.395 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.018, allocations: 1.787 MB / 1.396 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.018, allocations: 2.719 kB / 1.396 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.019, allocations: 1.064 MB / 1.397 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/1.02, allocations: 251.3 kB / 1.398 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.02, allocations: 17.75 kB / 1.398 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/1.021, allocations: 31.2 kB / 1.398 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/1.021, allocations: 48.34 kB / 1.398 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/1.021, allocations: 27.52 kB / 1.398 GB, free: 3.758 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006226/1.021, allocations: 0.5642 MB / 1.398 GB, free: 3.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.021, allocations: 0 / 1.398 GB, free: 3.441 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007833/1.022, allocations: 287 kB / 1.399 GB, free: 3.414 MB / 1.061 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.001956/1.024, allocations: 1.711 MB / 1.4 GB, free: 2.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.025, allocations: 0.8057 MB / 1.401 GB, free: 1.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.025, allocations: 6.406 kB / 1.401 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/1.026, allocations: 411.3 kB / 1.401 GB, free: 1.367 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.028, allocations: 0.5972 MB / 1.402 GB, free: 1.055 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/1.037, allocations: 7.011 MB / 1.409 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/1.038, allocations: 1.091 MB / 1.41 GB, free: 9.629 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006584/1.039, allocations: 223.7 kB / 1.41 GB, free: 9.406 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/1.039, allocations: 339.3 kB / 1.41 GB, free: 9.078 MB / 1.076 GB Notification: Performance of SimCode: time 1.674e-06/1.039, allocations: 0 / 1.41 GB, free: 9.078 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/1.093, allocations: 28.02 MB / 1.438 GB, free: 13.57 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.34, allocations: 8.062 kB / 1.438 GB, free: 13.56 MB / 1.107 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