Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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.001618/0.001618, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001937/0.001937, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.287/2.287, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5231, allocations: 140.4 MB / 0.9492 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.169/0.6921, allocations: 188.1 MB / 1.133 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008155/0.7003, allocations: 5.699 MB / 1.139 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.7015, allocations: 35.75 kB / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.7029, allocations: 0.5053 MB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.7065, allocations: 1.529 MB / 1.141 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.7091, allocations: 1.109 MB / 1.142 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.7119, allocations: 2.559 MB / 1.144 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.7131, allocations: 0.8589 MB / 1.145 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.7149, allocations: 1.047 MB / 1.146 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.7166, allocations: 0.8575 MB / 1.147 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.7168, allocations: 100 kB / 1.147 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.7191, allocations: 1.606 MB / 1.148 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.7196, allocations: 402.9 kB / 1.149 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007315/0.7203, allocations: 0.5911 MB / 1.149 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.7227, allocations: 2.092 MB / 1.151 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7227, allocations: 0 / 1.151 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7227, allocations: 0 / 1.151 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.127e-05/0.7227, allocations: 0 / 1.151 GB, free: 2.227 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002295/0.725, allocations: 1.433 MB / 1.153 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7251, allocations: 8.031 kB / 1.153 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.7252, allocations: 130.6 kB / 1.153 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.7278, allocations: 418.3 kB / 1.153 GB, free: 188 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.729, allocations: 0.7686 MB / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.7293, allocations: 113.9 kB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.7295, allocations: 79.94 kB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.7312, allocations: 0.9983 MB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.7312, allocations: 0 / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.7313, allocations: 32 kB / 1.155 GB, free: 14.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.7314, allocations: 30 kB / 1.155 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.7332, allocations: 0.8783 MB / 1.156 GB, free: 13.22 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.005326/0.7385, allocations: 3.513 MB / 1.16 GB, free: 9.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.74, allocations: 0.6194 MB / 1.16 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.7408, allocations: 345.8 kB / 1.161 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.7409, allocations: 97.69 kB / 1.161 GB, free: 8.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.741, allocations: 42.56 kB / 1.161 GB, free: 8.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.741, allocations: 4 kB / 1.161 GB, free: 8.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.007447/0.7484, allocations: 2.416 MB / 1.163 GB, free: 5.891 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.7485, allocations: 59.41 kB / 1.163 GB, free: 5.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.7493, allocations: 0.7979 MB / 1.164 GB, free: 5.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.7494, allocations: 29.7 kB / 1.164 GB, free: 4.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.7497, allocations: 463.6 kB / 1.164 GB, free: 4.523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.7498, allocations: 141.9 kB / 1.165 GB, free: 4.383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.75, allocations: 106.1 kB / 1.165 GB, free: 4.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.7501, allocations: 326 kB / 1.165 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/0.7508, allocations: 304.9 kB / 1.165 GB, free: 3.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/0.7516, allocations: 420 kB / 1.166 GB, free: 3.203 MB / 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.004939/0.7566, allocations: 1.894 MB / 1.167 GB, free: 1.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7566, allocations: 4 kB / 1.167 GB, free: 1.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002906/0.7595, allocations: 1.054 MB / 1.169 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7595, allocations: 4 kB / 1.169 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.7595, allocations: 4 kB / 1.169 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.7601, allocations: 188.8 kB / 1.169 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.7607, allocations: 147.8 kB / 1.169 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1292/0.89, allocations: 2.234 MB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.8913, allocations: 83.83 kB / 1.171 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.8914, allocations: 23.98 kB / 1.171 GB, free: 13.38 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 (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.000477/0.8919, allocations: 287.6 kB / 1.171 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.8921, allocations: 86.97 kB / 1.171 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.8923, allocations: 96.23 kB / 1.172 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8923, allocations: 4 kB / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8923, allocations: 0 / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002785/0.8951, allocations: 0.9067 MB / 1.172 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.9002, allocations: 2.11 MB / 1.175 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.9003, allocations: 4 kB / 1.175 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.9009, allocations: 132.2 kB / 1.175 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/0.9014, allocations: 184.7 kB / 1.175 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.9015, allocations: 20 kB / 1.175 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/0.9048, allocations: 2.183 MB / 1.177 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.9048, allocations: 7.938 kB / 1.177 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.9084, allocations: 1.435 MB / 1.178 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.9087, allocations: 240 kB / 1.179 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9089, allocations: 8 kB / 1.179 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/0.9098, allocations: 89.8 kB / 1.179 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.9099, allocations: 39.89 kB / 1.179 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.9099, allocations: 31.97 kB / 1.179 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006063/0.9106, allocations: 0.5537 MB / 1.179 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9106, allocations: 0 / 1.179 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007971/0.9114, allocations: 272 kB / 1.18 GB, free: 4.348 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 (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.004062/0.9154, allocations: 2.092 MB / 1.182 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.9174, allocations: 0.8561 MB / 1.182 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9174, allocations: 3.938 kB / 1.182 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.9183, allocations: 467.5 kB / 1.183 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.9204, allocations: 0.5312 MB / 1.183 GB, free: 336 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.9354, allocations: 8.265 MB / 1.192 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.936, allocations: 1.048 MB / 1.193 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007556/0.9368, allocations: 207.1 kB / 1.193 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.9372, allocations: 315.3 kB / 1.193 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.9372, allocations: 0 / 1.193 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.476/5.413, allocations: 27.4 MB / 1.22 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/5.414, allocations: 328.2 kB / 1.22 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/8.048, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches