Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001638/0.001638, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001939/0.001939, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 62.61 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1763/0.4392, allocations: 188.2 MB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008622/0.4478, allocations: 5.777 MB / 1.242 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.449, allocations: 35.81 kB / 1.242 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.4506, allocations: 0.4897 MB / 1.242 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.4544, allocations: 1.517 MB / 1.244 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.4572, allocations: 1.084 MB / 1.245 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5058/0.9631, allocations: 3.521 MB / 1.248 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.9644, allocations: 0.8924 MB / 1.249 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.9659, allocations: 0.9095 MB / 1.25 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.9674, allocations: 0.8831 MB / 1.251 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.9676, allocations: 58.09 kB / 1.251 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.9699, allocations: 1.737 MB / 1.253 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.9704, allocations: 452.8 kB / 1.253 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.971, allocations: 0.5878 MB / 1.254 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.9736, allocations: 2.194 MB / 1.256 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9736, allocations: 0.6562 kB / 1.256 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.9736, allocations: 2.875 kB / 1.256 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.9736, allocations: 0 / 1.256 GB, free: 3.898 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002428/0.9761, allocations: 1.523 MB / 1.257 GB, free: 19.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9761, allocations: 11.19 kB / 1.257 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.9763, allocations: 145.3 kB / 1.257 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.9793, allocations: 472.2 kB / 1.258 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9806, allocations: 0.8095 MB / 1.259 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.9809, allocations: 127.9 kB / 1.259 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.981, allocations: 86.59 kB / 1.259 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.9831, allocations: 1.182 MB / 1.26 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9831, allocations: 0 / 1.26 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.9832, allocations: 42.12 kB / 1.26 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.9833, allocations: 39.62 kB / 1.26 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.9856, allocations: 1.077 MB / 1.261 GB, free: 18.55 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.006763/0.9923, allocations: 4.328 MB / 1.265 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.9943, allocations: 0.7634 MB / 1.266 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009416/0.9952, allocations: 411.2 kB / 1.266 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.9954, allocations: 98.09 kB / 1.267 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.9954, allocations: 41 kB / 1.267 GB, free: 16.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.9955, allocations: 4 kB / 1.267 GB, free: 16.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006101/1.002, allocations: 2.21 MB / 1.269 GB, free: 16.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.002, allocations: 56.83 kB / 1.269 GB, free: 15.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.003, allocations: 0.863 MB / 1.27 GB, free: 15.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/1.003, allocations: 41.27 kB / 1.27 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/1.003, allocations: 493.4 kB / 1.27 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.003, allocations: 162.7 kB / 1.27 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/1.003, allocations: 121.7 kB / 1.27 GB, free: 15.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.004, allocations: 336.4 kB / 1.271 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009138/1.005, allocations: 370.8 kB / 1.271 GB, free: 15.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/1.005, allocations: 0.5084 MB / 1.272 GB, free: 15.02 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.005942/1.011, allocations: 2.288 MB / 1.274 GB, free: 14.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.011, allocations: 1.562 kB / 1.274 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002085/1.014, allocations: 0.9939 MB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.014, allocations: 8.875 kB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.014, allocations: 8.125 kB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.014, allocations: 10.69 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/1.015, allocations: 194.6 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.015, allocations: 7.031 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.016, allocations: 107.7 kB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/1.016, allocations: 25.66 kB / 1.275 GB, free: 14.57 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003922/1.016, allocations: 311.2 kB / 1.275 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.016, allocations: 91.12 kB / 1.275 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/1.016, allocations: 106.5 kB / 1.276 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/1.016, allocations: 9.531 kB / 1.276 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.016, allocations: 0 / 1.276 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/1.018, allocations: 1.03 MB / 1.277 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/1.023, allocations: 2.169 MB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.023, allocations: 2.688 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/1.024, allocations: 168.8 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.024, allocations: 5.625 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/1.024, allocations: 17.88 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.024, allocations: 13.25 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.024, allocations: 3.844 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/1.027, allocations: 1.432 MB / 1.28 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/1.027, allocations: 251.7 kB / 1.281 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.027, allocations: 18.52 kB / 1.281 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/1.028, allocations: 99.06 kB / 1.281 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/1.028, allocations: 38.44 kB / 1.281 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/1.028, allocations: 30.69 kB / 1.281 GB, free: 12.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006582/1.029, allocations: 0.6049 MB / 1.281 GB, free: 12.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.029, allocations: 0 / 1.281 GB, free: 12.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008267/1.03, allocations: 266.4 kB / 1.282 GB, free: 12.89 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003278/1.033, allocations: 2.086 MB / 1.284 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001862/1.035, allocations: 0.8232 MB / 1.284 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.035, allocations: 5.156 kB / 1.284 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/1.036, allocations: 394.6 kB / 1.285 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.038, allocations: 0.5542 MB / 1.285 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.052, allocations: 8.878 MB / 1.294 GB, free: 8.633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/1.052, allocations: 1.113 MB / 1.295 GB, free: 7.918 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001014/1.053, allocations: 262.1 kB / 1.295 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/1.054, allocations: 354.7 kB / 1.296 GB, free: 7.852 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.054, allocations: 0 / 1.296 GB, free: 7.852 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/2.295, allocations: 27.63 MB / 1.323 GB, free: 1.629 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/2.295, allocations: 309.8 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/5.95, allocations: 0 / 1.323 GB, free: 1.25 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches