Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001316/0.001316, 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.001486/0.001486, allocations: 196.6 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.327/1.327, 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 11.0.1-master/package.mo): time 2.696/2.696, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.69 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.6572/0.91, allocations: 190.6 MB / 1.25 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007824/0.9179, allocations: 5.722 MB / 1.255 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008301/0.9187, allocations: 44.64 kB / 1.255 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.9199, allocations: 0.577 MB / 1.256 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.923, allocations: 1.623 MB / 1.258 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.9258, allocations: 1.205 MB / 1.259 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.9284, allocations: 2.561 MB / 1.261 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.9295, allocations: 0.8788 MB / 1.262 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.9309, allocations: 1.04 MB / 1.263 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.9322, allocations: 0.8117 MB / 1.264 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.9324, allocations: 98.47 kB / 1.264 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.9349, allocations: 1.535 MB / 1.266 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.9353, allocations: 407.1 kB / 1.266 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.9358, allocations: 0.5897 MB / 1.266 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.9381, allocations: 2.003 MB / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9382, allocations: 0 / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9382, allocations: 0 / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.9382, allocations: 0.9375 kB / 1.268 GB, free: 4.324 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002203/0.9404, allocations: 1.441 MB / 1.27 GB, free: 19.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.9404, allocations: 10.94 kB / 1.27 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.9406, allocations: 121.2 kB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.9433, allocations: 414.1 kB / 1.27 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.9447, allocations: 0.7677 MB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.9451, allocations: 116 kB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.9452, allocations: 80.94 kB / 1.271 GB, free: 19.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.9471, allocations: 0.9908 MB / 1.272 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.9471, allocations: 0.6562 kB / 1.272 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.9472, allocations: 37.61 kB / 1.272 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.9473, allocations: 32.5 kB / 1.272 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.9493, allocations: 0.8825 MB / 1.273 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.006184/0.9555, allocations: 3.519 MB / 1.277 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.9574, allocations: 0.6228 MB / 1.277 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.9582, allocations: 342.5 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.9584, allocations: 98.91 kB / 1.278 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.9585, allocations: 41.48 kB / 1.278 GB, free: 17.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/0.9585, allocations: 0 / 1.278 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.00837/0.9668, allocations: 2.426 MB / 1.28 GB, free: 17.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.9669, allocations: 56.69 kB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.9678, allocations: 0.7922 MB / 1.281 GB, free: 16.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.9679, allocations: 37.11 kB / 1.281 GB, free: 16.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.9681, allocations: 453.1 kB / 1.281 GB, free: 16.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.9683, allocations: 145.4 kB / 1.281 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.9684, allocations: 107.4 kB / 1.282 GB, free: 16.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9686, allocations: 330.2 kB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/0.9694, allocations: 306.5 kB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.9702, allocations: 418.3 kB / 1.283 GB, free: 16.09 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.005526/0.9758, allocations: 1.908 MB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9758, allocations: 1.75 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003275/0.9791, allocations: 1.041 MB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.9791, allocations: 6.062 kB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9791, allocations: 3.875 kB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.9797, allocations: 190.6 kB / 1.286 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.9804, allocations: 143.5 kB / 1.286 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.9843, allocations: 2.23 MB / 1.288 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/0.9853, allocations: 59.16 kB / 1.288 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.9854, allocations: 24.92 kB / 1.288 GB, free: 14.36 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0004164/0.9858, allocations: 279.6 kB / 1.288 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.9859, allocations: 87.34 kB / 1.288 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.9861, allocations: 93.27 kB / 1.289 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9861, allocations: 4 kB / 1.289 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.9861, allocations: 0 / 1.289 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/0.9891, allocations: 0.9066 MB / 1.289 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/0.9943, allocations: 2.121 MB / 1.291 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9943, allocations: 6.5 kB / 1.291 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.995, allocations: 129.1 kB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/0.9955, allocations: 186.7 kB / 1.292 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.9956, allocations: 13.91 kB / 1.292 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.9991, allocations: 2.198 MB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9991, allocations: 3.25 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/1.003, allocations: 1.425 MB / 1.295 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.003, allocations: 238.4 kB / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.003, allocations: 16.73 kB / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/1.004, allocations: 59.56 kB / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/1.004, allocations: 45.98 kB / 1.296 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/1.005, allocations: 27.55 kB / 1.296 GB, free: 11.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006981/1.005, allocations: 0.5552 MB / 1.296 GB, free: 11.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.005, allocations: 4.188 kB / 1.296 GB, free: 11.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009763/1.006, allocations: 275.7 kB / 1.297 GB, free: 11.53 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 (37): * Single equations (assignments): 36 * 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.00451/1.011, allocations: 2.078 MB / 1.299 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002097/1.013, allocations: 0.8442 MB / 1.299 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.013, allocations: 2.75 kB / 1.299 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/1.014, allocations: 469.7 kB / 1.3 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.016, allocations: 0.5411 MB / 1.3 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.031, allocations: 7.969 MB / 1.308 GB, free: 7.566 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/1.031, allocations: 1.044 MB / 1.309 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008227/1.032, allocations: 209.2 kB / 1.309 GB, free: 6.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.032, allocations: 318.2 kB / 1.31 GB, free: 6.793 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.032, allocations: 0 / 1.31 GB, free: 6.793 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/1.084, allocations: 27.64 MB / 1.337 GB, free: 14.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.51, allocations: 10.97 kB / 1.337 GB, free: 14.66 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches