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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 102.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 497.2 MB / 0.7812 GB, free: 12.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2326/1.245, allocations: 191.3 MB / 1.491 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01112/1.256, allocations: 5.759 MB / 1.496 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/1.258, allocations: 42.66 kB / 1.497 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/1.26, allocations: 0.6155 MB / 1.497 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005898/1.266, allocations: 1.682 MB / 1.499 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/1.271, allocations: 1.219 MB / 1.5 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005529/1.276, allocations: 2.567 MB / 1.502 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/1.278, allocations: 0.7446 MB / 1.503 GB, free: 10.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/1.282, allocations: 1.262 MB / 1.504 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/1.284, allocations: 0.8499 MB / 1.505 GB, free: 9.484 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00038/1.285, allocations: 103.9 kB / 1.505 GB, free: 9.383 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/1.289, allocations: 1.602 MB / 1.507 GB, free: 7.777 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000736/1.29, allocations: 418.7 kB / 1.507 GB, free: 7.367 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.291, allocations: 0.5872 MB / 1.508 GB, free: 6.777 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004575/1.296, allocations: 2.025 MB / 1.51 GB, free: 4.746 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.296, allocations: 0 / 1.51 GB, free: 4.746 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.773e-06/1.296, allocations: 0 / 1.51 GB, free: 4.746 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.511e-05/1.296, allocations: 0 / 1.51 GB, free: 4.746 MB / 1.186 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.003315/1.299, allocations: 1.474 MB / 1.511 GB, free: 3.219 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.299, allocations: 12.03 kB / 1.511 GB, free: 3.207 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/1.299, allocations: 122.6 kB / 1.511 GB, free: 3.078 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/1.302, allocations: 410.9 kB / 1.512 GB, free: 2.676 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.304, allocations: 0.8161 MB / 1.513 GB, free: 1.816 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/1.304, allocations: 58 kB / 1.513 GB, free: 1.762 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.304, allocations: 72 kB / 1.513 GB, free: 1.691 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/1.306, allocations: 0.9866 MB / 1.514 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.306, allocations: 3.938 kB / 1.514 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/1.306, allocations: 32 kB / 1.514 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/1.306, allocations: 33.98 kB / 1.514 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/1.308, allocations: 0.8705 MB / 1.515 GB, free: 15.74 MB / 1.201 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.006386/1.315, allocations: 3.503 MB / 1.518 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.316, allocations: 0.5851 MB / 1.519 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/1.317, allocations: 317.3 kB / 1.519 GB, free: 11.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/1.317, allocations: 97.42 kB / 1.519 GB, free: 11.04 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.317, allocations: 51.16 kB / 1.519 GB, free: 10.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/1.317, allocations: 0 / 1.519 GB, free: 10.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=41): time 0.007846/1.325, allocations: 2.4 MB / 1.521 GB, free: 8.508 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.325, allocations: 59.41 kB / 1.521 GB, free: 8.438 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.326, allocations: 0.7941 MB / 1.522 GB, free: 7.637 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/1.326, allocations: 33.7 kB / 1.522 GB, free: 7.598 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/1.326, allocations: 464.5 kB / 1.523 GB, free: 7.137 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/1.327, allocations: 146.7 kB / 1.523 GB, free: 6.992 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/1.327, allocations: 102.2 kB / 1.523 GB, free: 6.887 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.327, allocations: 330 kB / 1.523 GB, free: 6.559 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/1.328, allocations: 300.9 kB / 1.524 GB, free: 6.262 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/1.329, allocations: 404.1 kB / 1.524 GB, free: 5.836 MB / 1.201 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.005227/1.334, allocations: 1.882 MB / 1.526 GB, free: 3.895 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.334, allocations: 0 / 1.526 GB, free: 3.895 MB / 1.201 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003204/1.337, allocations: 1.043 MB / 1.527 GB, free: 2.844 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.337, allocations: 4.094 kB / 1.527 GB, free: 2.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.337, allocations: 11.98 kB / 1.527 GB, free: 2.828 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/1.338, allocations: 180.7 kB / 1.527 GB, free: 2.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/1.338, allocations: 139.8 kB / 1.527 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/1.342, allocations: 2.241 MB / 1.529 GB, free: 136 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/1.343, allocations: 43.95 kB / 1.529 GB, free: 92 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/1.343, allocations: 27.98 kB / 1.529 GB, free: 64 kB / 1.201 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.0005017/1.344, allocations: 278.3 kB / 1.53 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.344, allocations: 95.38 kB / 1.53 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.344, allocations: 96.23 kB / 1.53 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.344, allocations: 4 kB / 1.53 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.344, allocations: 0 / 1.53 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002791/1.347, allocations: 0.8948 MB / 1.531 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/1.352, allocations: 2.103 MB / 1.533 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.352, allocations: 7.938 kB / 1.533 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/1.353, allocations: 128.2 kB / 1.533 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005479/1.354, allocations: 188.6 kB / 1.533 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/1.354, allocations: 15.98 kB / 1.533 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/1.357, allocations: 2.187 MB / 1.535 GB, free: 9.797 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.357, allocations: 11.92 kB / 1.535 GB, free: 9.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/1.361, allocations: 1.409 MB / 1.537 GB, free: 8.312 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/1.362, allocations: 244.5 kB / 1.537 GB, free: 8.055 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.362, allocations: 16.25 kB / 1.537 GB, free: 8.039 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/1.363, allocations: 63.88 kB / 1.537 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.363, allocations: 47.83 kB / 1.537 GB, free: 7.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.363, allocations: 23.98 kB / 1.537 GB, free: 7.906 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007371/1.364, allocations: 0.5536 MB / 1.538 GB, free: 7.355 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.364, allocations: 0 / 1.538 GB, free: 7.355 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000853/1.364, allocations: 271.9 kB / 1.538 GB, free: 7.09 MB / 1.217 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.004435/1.369, allocations: 2.061 MB / 1.54 GB, free: 4.969 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002/1.371, allocations: 0.778 MB / 1.541 GB, free: 4.18 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.371, allocations: 4 kB / 1.541 GB, free: 4.176 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009363/1.372, allocations: 451.5 kB / 1.541 GB, free: 3.723 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.374, allocations: 0.5434 MB / 1.542 GB, free: 3.184 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/1.39, allocations: 7.686 MB / 1.549 GB, free: 11.21 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/1.391, allocations: 1.044 MB / 1.55 GB, free: 10.14 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009887/1.392, allocations: 203.2 kB / 1.55 GB, free: 9.938 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/1.392, allocations: 311.3 kB / 1.551 GB, free: 9.633 MB / 1.232 GB Notification: Performance of SimCode: time 2.023e-06/1.392, allocations: 4 kB / 1.551 GB, free: 9.629 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06848/1.461, allocations: 27.96 MB / 1.578 GB, free: 14.15 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.47, allocations: 8.703 kB / 1.578 GB, free: 14.14 MB / 1.264 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.69773593917489]