Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001819/0.001819, allocations: 193 kB / 16.13 MB, free: 6.648 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5521, allocations: 140.4 MB / 0.949 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.178/0.7302, allocations: 188.2 MB / 1.133 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007894/0.7381, allocations: 5.771 MB / 1.139 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009916/0.7391, allocations: 31.81 kB / 1.139 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.7405, allocations: 0.4936 MB / 1.139 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.7439, allocations: 1.521 MB / 1.14 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.7464, allocations: 1.086 MB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.7496, allocations: 3.527 MB / 1.145 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.7506, allocations: 0.8925 MB / 1.146 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.7519, allocations: 0.8986 MB / 1.147 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.7533, allocations: 0.8889 MB / 1.148 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.7534, allocations: 56 kB / 1.148 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.756, allocations: 1.734 MB / 1.149 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.7564, allocations: 458.7 kB / 1.15 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.757, allocations: 0.5908 MB / 1.15 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.7591, allocations: 2.189 MB / 1.153 GB, free: 1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7591, allocations: 0 / 1.153 GB, free: 1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7591, allocations: 0 / 1.153 GB, free: 1 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.7591, allocations: 4 kB / 1.153 GB, free: 0.9961 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002203/0.7613, allocations: 1.523 MB / 1.154 GB, free: 15.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7614, allocations: 11.97 kB / 1.154 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.7616, allocations: 147.3 kB / 1.154 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.7645, allocations: 474.1 kB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7658, allocations: 0.8201 MB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.7661, allocations: 117.9 kB / 1.156 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.7662, allocations: 87.94 kB / 1.156 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.7683, allocations: 1.184 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7683, allocations: 4 kB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.018e-05/0.7684, allocations: 40 kB / 1.157 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.7685, allocations: 37.98 kB / 1.157 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.7707, allocations: 1.073 MB / 1.158 GB, free: 11.36 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.006174/0.7768, allocations: 4.35 MB / 1.162 GB, free: 6.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.7787, allocations: 0.756 MB / 1.163 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008926/0.7796, allocations: 408.6 kB / 1.163 GB, free: 5.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.7798, allocations: 101.1 kB / 1.163 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.7798, allocations: 38.56 kB / 1.163 GB, free: 5.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.7798, allocations: 0 / 1.163 GB, free: 5.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.005398/0.7852, allocations: 2.206 MB / 1.166 GB, free: 3.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.7853, allocations: 59.41 kB / 1.166 GB, free: 3.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.7862, allocations: 0.8608 MB / 1.166 GB, free: 2.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.7863, allocations: 41.64 kB / 1.166 GB, free: 2.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.7866, allocations: 495.3 kB / 1.167 GB, free: 1.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.7868, allocations: 165.7 kB / 1.167 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.787, allocations: 122.2 kB / 1.167 GB, free: 1.395 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.7871, allocations: 334 kB / 1.168 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.788, allocations: 373 kB / 1.168 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009738/0.789, allocations: 0.5053 MB / 1.168 GB, free: 144 kB / 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.005955/0.7949, allocations: 2.289 MB / 1.171 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7949, allocations: 4 kB / 1.171 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002193/0.7971, allocations: 0.9937 MB / 1.172 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.7972, allocations: 12.12 kB / 1.172 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7972, allocations: 7.938 kB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.7972, allocations: 11.94 kB / 1.172 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.7982, allocations: 191.7 kB / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7982, allocations: 4 kB / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.7993, allocations: 107.7 kB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.7993, allocations: 27.98 kB / 1.172 GB, free: 12.42 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: 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.0004705/0.7998, allocations: 317.5 kB / 1.172 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.8, allocations: 90.97 kB / 1.172 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.8002, allocations: 112.6 kB / 1.172 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8002, allocations: 4 kB / 1.172 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8002, allocations: 0 / 1.172 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/0.8021, allocations: 1.034 MB / 1.173 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.8064, allocations: 2.16 MB / 1.176 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8064, allocations: 4 kB / 1.176 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.8073, allocations: 164.2 kB / 1.176 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.8073, allocations: 4 kB / 1.176 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.8073, allocations: 19.98 kB / 1.176 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.8073, allocations: 11.88 kB / 1.176 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8074, allocations: 8 kB / 1.176 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.8102, allocations: 1.421 MB / 1.177 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.8106, allocations: 264 kB / 1.177 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.8107, allocations: 16 kB / 1.177 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009649/0.8117, allocations: 101.7 kB / 1.178 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.8118, allocations: 35.91 kB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.8119, allocations: 31.97 kB / 1.178 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006682/0.8125, allocations: 0.6005 MB / 1.178 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8125, allocations: 0 / 1.178 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007821/0.8133, allocations: 264 kB / 1.178 GB, free: 5.52 MB / 0.9356 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.003404/0.8167, allocations: 2.093 MB / 1.18 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.8187, allocations: 0.811 MB / 1.181 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8187, allocations: 3.938 kB / 1.181 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009114/0.8196, allocations: 401 kB / 1.182 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.8219, allocations: 0.5589 MB / 1.182 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.8358, allocations: 8.886 MB / 1.191 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.8364, allocations: 1.11 MB / 1.192 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008929/0.8373, allocations: 267.7 kB / 1.192 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.8378, allocations: 355.3 kB / 1.193 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.8378, allocations: 0 / 1.193 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2819/1.12, allocations: 27.62 MB / 1.22 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/1.12, allocations: 302 kB / 1.22 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/4.014, allocations: 2.188 kB / 1.22 GB, free: 11.1 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches