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.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.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.006083/0.006083, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001255/0.001255, allocations: 200.2 kB / 16.67 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 67.89 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8771/1.173, allocations: 190.5 MB / 1.393 GB, free: 15.26 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01044/1.184, allocations: 5.702 MB / 1.399 GB, free: 10.61 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.186, allocations: 40.59 kB / 1.399 GB, free: 10.6 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/1.187, allocations: 0.5782 MB / 1.4 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/1.193, allocations: 1.604 MB / 1.401 GB, free: 8.867 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/1.196, allocations: 1.219 MB / 1.402 GB, free: 7.957 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004625/1.201, allocations: 2.573 MB / 1.405 GB, free: 6.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/1.203, allocations: 1.034 MB / 1.406 GB, free: 5.867 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/1.206, allocations: 1.055 MB / 1.407 GB, free: 5.242 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/1.208, allocations: 0.8517 MB / 1.408 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000581/1.209, allocations: 112.4 kB / 1.408 GB, free: 4.738 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005316/1.214, allocations: 1.554 MB / 1.409 GB, free: 3.898 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/1.216, allocations: 0.4959 MB / 1.41 GB, free: 3.566 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002534/1.218, allocations: 0.6337 MB / 1.41 GB, free: 3.16 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005331/1.223, allocations: 2.187 MB / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.223, allocations: 0 / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.054e-06/1.223, allocations: 0 / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.223, allocations: 0 / 1.413 GB, free: 1.758 MB / 1.092 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.002825/1.226, allocations: 1.514 MB / 1.414 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.226, allocations: 14.5 kB / 1.414 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/1.227, allocations: 140.2 kB / 1.414 GB, free: 0.5 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/1.23, allocations: 477.4 kB / 1.415 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/1.231, allocations: 0.8551 MB / 1.415 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.231, allocations: 66.33 kB / 1.415 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.231, allocations: 82.91 kB / 1.416 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/1.234, allocations: 1.175 MB / 1.417 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.234, allocations: 0 / 1.417 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/1.234, allocations: 38.91 kB / 1.417 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/1.234, allocations: 40.52 kB / 1.417 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/1.236, allocations: 1.068 MB / 1.418 GB, free: 14.34 MB / 1.107 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.007846/1.244, allocations: 4.301 MB / 1.422 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.246, allocations: 0.7365 MB / 1.423 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/1.247, allocations: 407.5 kB / 1.423 GB, free: 9.711 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/1.247, allocations: 101.1 kB / 1.423 GB, free: 9.594 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.248, allocations: 42.55 kB / 1.423 GB, free: 9.543 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.584e-06/1.248, allocations: 0 / 1.423 GB, free: 9.543 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.006443/1.254, allocations: 2.174 MB / 1.425 GB, free: 7.316 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.254, allocations: 59.34 kB / 1.425 GB, free: 7.246 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/1.255, allocations: 0.8647 MB / 1.426 GB, free: 6.371 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/1.255, allocations: 41.7 kB / 1.426 GB, free: 6.324 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/1.256, allocations: 499.2 kB / 1.427 GB, free: 5.832 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/1.256, allocations: 157.8 kB / 1.427 GB, free: 5.676 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.256, allocations: 118.2 kB / 1.427 GB, free: 5.555 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.257, allocations: 334 kB / 1.427 GB, free: 5.223 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/1.258, allocations: 369 kB / 1.428 GB, free: 4.859 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.259, allocations: 0.4936 MB / 1.428 GB, free: 4.316 MB / 1.107 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.006351/1.265, allocations: 2.271 MB / 1.43 GB, free: 1.977 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.265, allocations: 0 / 1.43 GB, free: 1.977 MB / 1.107 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002548/1.268, allocations: 0.9898 MB / 1.431 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.268, allocations: 11.98 kB / 1.431 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.268, allocations: 4 kB / 1.431 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.479e-05/1.268, allocations: 8 kB / 1.431 GB, free: 0.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/1.269, allocations: 187.8 kB / 1.432 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/1.269, allocations: 11.98 kB / 1.432 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.27, allocations: 65.06 kB / 1.432 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/1.27, allocations: 20 kB / 1.432 GB, free: 0.6797 MB / 1.107 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.000575/1.271, allocations: 313.5 kB / 1.432 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/1.271, allocations: 102.9 kB / 1.432 GB, free: 268 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/1.271, allocations: 108.7 kB / 1.432 GB, free: 152 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.271, allocations: 11.88 kB / 1.432 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.271, allocations: 3.938 kB / 1.432 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002109/1.273, allocations: 1.026 MB / 1.433 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/1.278, allocations: 2.137 MB / 1.435 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.278, allocations: 8 kB / 1.435 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/1.279, allocations: 164.2 kB / 1.435 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/1.279, allocations: 8 kB / 1.435 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/1.279, allocations: 19.98 kB / 1.436 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.279, allocations: 4 kB / 1.436 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.279, allocations: 11.88 kB / 1.436 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/1.283, allocations: 1.407 MB / 1.437 GB, free: 11.1 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/1.283, allocations: 251.9 kB / 1.437 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.284, allocations: 19.98 kB / 1.437 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.285, allocations: 60.81 kB / 1.437 GB, free: 10.76 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/1.285, allocations: 47.83 kB / 1.437 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/1.285, allocations: 27.97 kB / 1.437 GB, free: 10.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008712/1.286, allocations: 0.6005 MB / 1.438 GB, free: 10.09 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.286, allocations: 0 / 1.438 GB, free: 10.09 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009835/1.287, allocations: 271.9 kB / 1.438 GB, free: 9.828 MB / 1.123 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.003916/1.291, allocations: 2.085 MB / 1.44 GB, free: 7.688 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002217/1.293, allocations: 0.8071 MB / 1.441 GB, free: 6.883 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.293, allocations: 7.938 kB / 1.441 GB, free: 6.875 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/1.294, allocations: 393 kB / 1.441 GB, free: 6.492 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.297, allocations: 0.5836 MB / 1.442 GB, free: 5.922 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.313, allocations: 8.174 MB / 1.45 GB, free: 13.44 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/1.314, allocations: 1.106 MB / 1.451 GB, free: 12.3 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001069/1.315, allocations: 259.8 kB / 1.451 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/1.315, allocations: 355.3 kB / 1.452 GB, free: 11.7 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.316, allocations: 0 / 1.452 GB, free: 11.7 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/1.388, allocations: 29.19 MB / 1.48 GB, free: 14.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.851/11.24, allocations: 8.75 kB / 1.48 GB, free: 14.98 MB / 1.17 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